From 614c8cbe473589656004fe5ba5e26b2e6e5e157e Mon Sep 17 00:00:00 2001 From: Joachim Nilsson Date: Fri, 10 Jul 2015 18:27:46 +0200 Subject: [PATCH] Update documentation of OpenBSD derived functions with pointers to man pages. Signed-off-by: Joachim Nilsson --- README.md | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/README.md b/README.md index 6f5b45b..175a3a1 100644 --- a/README.md +++ b/README.md @@ -116,6 +116,8 @@ Generic Functions may still exist even though the program is no longer running. This is only a problem for clients. + See below for link to OpenBSD man page. + - `pidfile_read(pidfile)` Read PID from pid file created by `pidfile()`. @@ -141,11 +143,26 @@ OpenBSD Functions The following are the popular OpenBSD string functions. +- `pidfile(basename)` + + http://www.openbsd.org/cgi-bin/man.cgi/OpenBSD-current/man3/pidfile.3 + - `strlcpy(dst, src, len)` + + http://www.openbsd.org/cgi-bin/man.cgi/OpenBSD-current/man3/strlcpy.3 + - `strlcat(dst, src, len)` + + http://www.openbsd.org/cgi-bin/man.cgi/OpenBSD-current/man3/strlcat.3 + - `strtonum()` + + http://www.openbsd.org/cgi-bin/man.cgi/OpenBSD-current/man3/strtonum.3 + - [`sys/queue.h`][4] API + http://www.openbsd.org/cgi-bin/man.cgi/OpenBSD-current/man3/LIST_EMPTY.3 + TODO ----