aboutsummaryrefslogtreecommitdiffstats
path: root/man3/daemon.3
diff options
context:
space:
mode:
Diffstat (limited to 'man3/daemon.3')
-rw-r--r--man3/daemon.310
1 files changed, 9 insertions, 1 deletions
diff --git a/man3/daemon.3 b/man3/daemon.3
index 9636f4941a..bea3b4b5c2 100644
--- a/man3/daemon.3
+++ b/man3/daemon.3
@@ -31,13 +31,21 @@
.\"
.\" @(#)daemon.3 8.1 (Berkeley) 6/9/93
.\" Added mentioning of glibc weirdness wrt unistd.h. 5/11/98, Al Viro
-.TH DAEMON 3 1993-06-09 "GNU" "Linux Programmer's Manual"
+.TH DAEMON 3 2007-07-26 "GNU" "Linux Programmer's Manual"
.SH NAME
daemon \- run in the background
.SH SYNOPSIS
.B #include <unistd.h>
.sp
.BI "int daemon(int " nochdir ", int " noclose );
+.sp
+.in -4n
+Feature Test Macro Requirements for glibc (see
+.BR feature_test_macros (7)):
+.in
+.sp
+.BR daemon ():
+_BSD_SOURCE || (_XOPEN_SOURCE && _XOPEN_SOURCE\ <\ 500)
.SH DESCRIPTION
The
.BR daemon ()