diff options
| author | Mike Pritchard <mpp@FreeBSD.org> | 1996-12-30 21:15:45 +0000 |
|---|---|---|
| committer | Mike Pritchard <mpp@FreeBSD.org> | 1996-12-30 21:15:45 +0000 |
| commit | f14e86f4e22a4e3d05b59bf307baadbddec90156 (patch) | |
| tree | 5ac483a50ba104b7870c999d6e640c476aa465d3 /lib/libutil | |
| parent | 9323e8f5625cd4c77ee57de4338764f28e60322b (diff) | |
Notes
Diffstat (limited to 'lib/libutil')
| -rw-r--r-- | lib/libutil/Makefile | 3 | ||||
| -rw-r--r-- | lib/libutil/setproctitle.3 | 12 |
2 files changed, 8 insertions, 7 deletions
diff --git a/lib/libutil/Makefile b/lib/libutil/Makefile index 0ad1151abe9b..e5f7063ba172 100644 --- a/lib/libutil/Makefile +++ b/lib/libutil/Makefile @@ -5,7 +5,8 @@ SHLIB_MAJOR= 2 SHLIB_MINOR= 1 CFLAGS+=-DLIBC_SCCS -I${.CURDIR} -I/sys SRCS= login.c login_tty.c logout.c logwtmp.c pty.c setproctitle.c -MAN3+= setproctitle.3 +MAN3+= login.3 login_tty.3 logout.3 logwtmp.3 pty.3 setproctitle.3 +MLINKS+= pty.3 openpty.3 pty.3 forkpty.3 beforeinstall: ${INSTALL} -C -o ${BINOWN} -g ${BINGRP} -m 444 ${.CURDIR}/libutil.h \ diff --git a/lib/libutil/setproctitle.3 b/lib/libutil/setproctitle.3 index 5e58dbd39ffa..3ddbd90a4f28 100644 --- a/lib/libutil/setproctitle.3 +++ b/lib/libutil/setproctitle.3 @@ -17,7 +17,7 @@ .\" 5. Modifications may be freely made to this file providing the above .\" conditions are met. .\" -.\" $Id: setproctitle.3,v 1.3 1996/01/30 18:13:11 mpp Exp $ +.\" $Id: setproctitle.3,v 1.5 1996/12/30 21:08:45 mpp Exp $ .\" .\" The following requests are required for all man pages. .Dd December 16, 1995 @@ -39,7 +39,7 @@ on the command line. .Sh DESCRIPTION The -.Nm setproctitle +.Fn setproctitle library routine sets the process title that appears on the .Xr ps 1 command. @@ -77,18 +77,18 @@ setproctitle("talking to %s", inet_ntoa(addr)); .Xr kvm_getargv 3 , .Xr printf 3 .Sh STANDARDS -.Nm setproctitle +.Fn setproctitle is implicitly non-standard. Other methods of causing the .Xr ps 1 command line to change, including copying over the argv[0] string are also implicitly non-portable. It is preferable to use an operating system supplied -.Nm setproctitle +.Fn setproctitle if present. .Pp Unfortunately, it is possible that there are other calling conventions to other versions of -.Nm setproctitle , +.Fn setproctitle , although none have been found by the author as yet. This is believed to be the predominant convention. .Pp @@ -98,7 +98,7 @@ including and .Tn BSD/OS . .Sh HISTORY -.Nm setproctitle +.Fn setproctitle first appeared in .Fx 2.2 . Other operating systems have |
