summaryrefslogtreecommitdiffstats
path: root/lib/libc/gen/setproctitle.3
diff options
context:
space:
mode:
authorpeter <peter@FreeBSD.org>1996-01-01 08:27:41 +0000
committerpeter <peter@FreeBSD.org>1996-01-01 08:27:41 +0000
commit42bbbd28614c699542553f24fb84264a5130e8e7 (patch)
treeaac25102c388712f99b4b8c8c49d800d87028e5a /lib/libc/gen/setproctitle.3
parentcaa7284440e2e3d7c0e61a6365754b0094120761 (diff)
downloadFreeBSD-src-42bbbd28614c699542553f24fb84264a5130e8e7.zip
FreeBSD-src-42bbbd28614c699542553f24fb84264a5130e8e7.tar.gz
Bump libutil revision after recent addition of setproctitle().
Install (optional) libutil.h with prototypes for the functions and document this in the man page. minor cleanups to the various routines, include the prototype file, declare return codes etc.
Diffstat (limited to 'lib/libc/gen/setproctitle.3')
-rw-r--r--lib/libc/gen/setproctitle.310
1 files changed, 9 insertions, 1 deletions
diff --git a/lib/libc/gen/setproctitle.3 b/lib/libc/gen/setproctitle.3
index dffed30..5eefe60 100644
--- a/lib/libc/gen/setproctitle.3
+++ b/lib/libc/gen/setproctitle.3
@@ -17,7 +17,7 @@
.\" 5. Modifications may be freely made to this file providing the above
.\" conditions are met.
.\"
-.\" $Id$
+.\" $Id: setproctitle.3,v 1.1 1995/12/26 22:50:08 peter Exp $
.\"
.\" The following requests are required for all man pages.
.Dd December 16, 1995
@@ -28,8 +28,16 @@
.Nd set the process title for
.Xr ps 1
.Sh SYNOPSIS
+#include <libutil.h>
+.Pp
.Ft void
.Fn setproctitle "const char *fmt" "..."
+.Pp
+Link with
+.Va -lutil
+on the
+.Xr cc 1
+command line.
.Sh DESCRIPTION
The
.Nm setproctitle
OpenPOWER on IntegriCloud