diff options
Diffstat (limited to 'lib/libc/gen/tcgetpgrp.3')
-rw-r--r-- | lib/libc/gen/tcgetpgrp.3 | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/lib/libc/gen/tcgetpgrp.3 b/lib/libc/gen/tcgetpgrp.3 index e97c256..503359e 100644 --- a/lib/libc/gen/tcgetpgrp.3 +++ b/lib/libc/gen/tcgetpgrp.3 @@ -44,15 +44,15 @@ .Fn tcgetpgrp "int fd" .Sh DESCRIPTION The -.Nm tcgetpgrp +.Fn tcgetpgrp function returns the value of the process group ID of the foreground process group associated with the terminal device. If there is no foreground process group, -.Nm tcgetpgrp +.Fn tcgetpgrp returns an invalid process ID. .Sh ERRORS If an error occurs, -.Nm tcgetpgrp +.Fn tcgetpgrp returns -1 and the global variable .Va errno is set to indicate the error, as follows: @@ -68,12 +68,12 @@ underlying terminal device represented by is not the controlling terminal. .El .Sh SEE ALSO -.Xr setpgid 3 , +.Xr setpgid 2 , .Xr setsid 2 , .Xr tcsetpgrp 3 .Sh STANDARDS The -.Nm tcgetpgrp +.Fn tcgetpgrp function is expected to be compliant with the .St -p1003.1-88 specification. |