summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAaron Campbell <aaron@cvs.openbsd.org>1999-09-22 22:01:26 +0000
committerAaron Campbell <aaron@cvs.openbsd.org>1999-09-22 22:01:26 +0000
commit4b99f18f85b38aed824c2c69375488719d047b4d (patch)
tree08041d48d985895308b05f9b791de837e55e36b8
parent221f71e0429a75db17bec9315a31645088987152 (diff)
Add a RETURN VALUES section; fgsch@
-rw-r--r--lib/libc/gen/daemon.36
1 files changed, 5 insertions, 1 deletions
diff --git a/lib/libc/gen/daemon.3 b/lib/libc/gen/daemon.3
index d00ac098e24..8acc08b3b53 100644
--- a/lib/libc/gen/daemon.3
+++ b/lib/libc/gen/daemon.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: daemon.3,v 1.6 1999/07/09 13:35:16 aaron Exp $
+.\" $OpenBSD: daemon.3,v 1.7 1999/09/22 22:01:25 aaron Exp $
.\"
.\" Copyright (c) 1993
.\" The Regents of the University of California. All rights reserved.
@@ -60,6 +60,10 @@ is non-zero,
.Fn daemon
will redirect standard input, standard output and standard error to
.Pa /dev/null .
+.Sh RETURN VALUES
+Upon success,
+.Fn daemon
+returns 0; otherwise \-1 is returned.
.Sh ERRORS
The function
.Fn daemon