summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/libc/gen/daemon.312
-rw-r--r--lib/libc/gen/sysconf.33
-rw-r--r--lib/libc/stdio/fgets.33
-rw-r--r--lib/libc/sys/pathconf.23
-rw-r--r--lib/libc/sys/vfork.23
5 files changed, 10 insertions, 14 deletions
diff --git a/lib/libc/gen/daemon.3 b/lib/libc/gen/daemon.3
index f8fa711adb2..010b555c0e2 100644
--- a/lib/libc/gen/daemon.3
+++ b/lib/libc/gen/daemon.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: daemon.3,v 1.4 1999/02/16 16:49:20 deraadt Exp $
+.\" $OpenBSD: daemon.3,v 1.5 1999/04/02 16:21:35 aaron Exp $
.\"
.\" Copyright (c) 1993
.\" The Regents of the University of California. All rights reserved.
@@ -42,7 +42,6 @@
.Ft int
.Fn daemon "int nochdir" "int noclose"
.Sh DESCRIPTION
-.Pp
The
.Fn daemon
function is for programs wishing to detach themselves from the
@@ -52,14 +51,15 @@ Unless the argument
.Fa nochdir
is non-zero,
.Fn daemon
-changes the current working directory to the root (``/'').
+changes the current working directory to the root
+.Pq Pa / .
.Pp
Unless the argument
.Fa noclose
is non-zero,
.Fn daemon
-will redirect standard input, standard output and standard error
-to ``/dev/null''.
+will redirect standard input, standard output and standard error to
+.Pa /dev/null .
.Sh ERRORS
The function
.Fn daemon
@@ -70,8 +70,8 @@ for any of the errors specified for the library functions
and
.Xr setsid 2 .
.Sh SEE ALSO
+.Xr fork 2 ,
.Xr setsid 2
-.Xr fork 2
.Sh HISTORY
The
.Fn daemon
diff --git a/lib/libc/gen/sysconf.3 b/lib/libc/gen/sysconf.3
index 118e0290b39..fcaf4b2be28 100644
--- a/lib/libc/gen/sysconf.3
+++ b/lib/libc/gen/sysconf.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: sysconf.3,v 1.5 1998/06/15 17:54:59 mickey Exp $
+.\" $OpenBSD: sysconf.3,v 1.6 1999/04/02 16:21:35 aaron Exp $
.\"
.\" Copyright (c) 1993
.\" The Regents of the University of California. All rights reserved.
@@ -42,7 +42,6 @@
.Ft long
.Fn sysconf "int name"
.Sh DESCRIPTION
-.Pp
This interface is defined by
.St -p1003.1-88 .
A far more complete interface is available using
diff --git a/lib/libc/stdio/fgets.3 b/lib/libc/stdio/fgets.3
index 1484857b0a7..fabaf421a2e 100644
--- a/lib/libc/stdio/fgets.3
+++ b/lib/libc/stdio/fgets.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: fgets.3,v 1.3 1996/08/19 08:32:31 tholo Exp $
+.\" $OpenBSD: fgets.3,v 1.4 1999/04/02 16:21:35 aaron Exp $
.\"
.\" Copyright (c) 1990, 1991, 1993
.\" The Regents of the University of California. All rights reserved.
@@ -80,7 +80,6 @@ except that the newline character (if any) is not stored in the string.
It is the caller's responsibility to ensure that the input line,
if any, is sufficiently short to fit in the string.
.Sh RETURN VALUES
-.Pp
Upon successful completion,
.Fn fgets
and
diff --git a/lib/libc/sys/pathconf.2 b/lib/libc/sys/pathconf.2
index 299c5ca7721..1ddf33bb6ed 100644
--- a/lib/libc/sys/pathconf.2
+++ b/lib/libc/sys/pathconf.2
@@ -1,4 +1,4 @@
-.\" $OpenBSD: pathconf.2,v 1.4 1999/02/27 21:56:37 deraadt Exp $
+.\" $OpenBSD: pathconf.2,v 1.5 1999/04/02 16:21:35 aaron Exp $
.\" $NetBSD: pathconf.2,v 1.2 1995/02/27 12:35:22 cgd Exp $
.\"
.\" Copyright (c) 1993
@@ -48,7 +48,6 @@
.Ft long
.Fn fpathconf "int fd" "int name"
.Sh DESCRIPTION
-.Pp
The
.Fn pathconf
and
diff --git a/lib/libc/sys/vfork.2 b/lib/libc/sys/vfork.2
index 0c825d45ec3..4f0bdd43229 100644
--- a/lib/libc/sys/vfork.2
+++ b/lib/libc/sys/vfork.2
@@ -1,4 +1,4 @@
-.\" $OpenBSD: vfork.2,v 1.7 1999/02/27 21:56:59 deraadt Exp $
+.\" $OpenBSD: vfork.2,v 1.8 1999/04/02 16:21:35 aaron Exp $
.\" $NetBSD: vfork.2,v 1.8 1997/07/10 07:54:13 mikel Exp $
.\"
.\" Copyright (c) 1980, 1991, 1993
@@ -78,7 +78,6 @@ the parent's context.
Same as for
.Xr fork 2 .
.Sh BUGS
-.Pp
To avoid a possible deadlock situation,
processes that are children in the middle
of a