From 4ad94864781f48b1a4b77f9cfb934622bf756ba1 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Mon, 17 Jun 2024 12:51:52 +0200 Subject: Adding upstream version 4.23.0. Signed-off-by: Daniel Baumann --- upstream/debian-unstable/man3/daemon.3 | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) (limited to 'upstream/debian-unstable/man3/daemon.3') diff --git a/upstream/debian-unstable/man3/daemon.3 b/upstream/debian-unstable/man3/daemon.3 index a44263c9..95d29e7c 100644 --- a/upstream/debian-unstable/man3/daemon.3 +++ b/upstream/debian-unstable/man3/daemon.3 @@ -6,7 +6,7 @@ .\" .\" @(#)daemon.3 8.1 (Berkeley) 6/9/93 .\" Added mentioning of glibc weirdness wrt unistd.h. 5/11/98, Al Viro -.TH daemon 3 2023-07-20 "Linux man-pages 6.05.01" +.TH daemon 3 2024-05-02 "Linux man-pages 6.8" .SH NAME daemon \- run in the background .SH LIBRARY @@ -15,15 +15,15 @@ Standard C library .SH SYNOPSIS .nf .B #include -.PP +.P .BI "int daemon(int " nochdir ", int " noclose ); .fi -.PP +.P .RS -4 Feature Test Macro Requirements for glibc (see .BR feature_test_macros (7)): .RE -.PP +.P .BR daemon (): .nf Since glibc 2.21: @@ -39,7 +39,7 @@ The .BR daemon () function is for programs wishing to detach themselves from the controlling terminal and run in the background as system daemons. -.PP +.P If .I nochdir is zero, @@ -47,7 +47,7 @@ is zero, changes the process's current working directory to the root directory ("/"); otherwise, the current working directory is left unchanged. -.PP +.P If .I noclose is zero, @@ -88,10 +88,9 @@ T{ .BR daemon () T} Thread safety MT-Safe .TE -.sp 1 .SH VERSIONS A similar function appears on the BSDs. -.PP +.P The glibc implementation can also return \-1 when .I /dev/null exists but is not a character device with the expected -- cgit v1.2.3