diff options
Diffstat (limited to 'lib/libc/sys/setsid.2')
-rw-r--r-- | lib/libc/sys/setsid.2 | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/libc/sys/setsid.2 b/lib/libc/sys/setsid.2 index 404b1b8..e67aae4 100644 --- a/lib/libc/sys/setsid.2 +++ b/lib/libc/sys/setsid.2 @@ -43,7 +43,7 @@ .Fn setsid "void" .Sh DESCRIPTION The -.Nm setsid +.Fn setsid function creates a new session. The calling process is the session leader of the new session, is the process group leader of a new process group and has no controlling @@ -52,12 +52,12 @@ The calling process is the only process in either the session or the process group. .Pp Upon successful completion, the -.Nm setsid +.Fn setsid function returns the value of the process group ID of the new process group, which is the same as the process ID of the calling process. .Sh ERRORS If an error occurs, -.Nm setsid +.Fn setsid returns -1 and the global variable .Va errno is set to indicate the error, as follows: @@ -73,7 +73,7 @@ ID of the calling process. .Xr tcsetpgrp 3 .Sh STANDARDS The -.Nm setsid +.Fn setsid function is expected to be compliant with the .St -p1003.1-88 specification. |