X-Git-Url: https://git.saurik.com/apple/libc.git/blobdiff_plain/5b2abdfbf4211b6592cdd02b9507555a0ecbb04b..224c70764cab4e0e39a26aaf3ad3016552f62f55:/gen/tcgetpgrp.3 diff --git a/gen/tcgetpgrp.3 b/gen/tcgetpgrp.3 index b155763..9df905f 100644 --- a/gen/tcgetpgrp.3 +++ b/gen/tcgetpgrp.3 @@ -41,10 +41,11 @@ .Sh LIBRARY .Lb libc .Sh SYNOPSIS -.In sys/types.h .In unistd.h .Ft pid_t -.Fn tcgetpgrp "int fd" +.Fo tcgetpgrp +.Fa "int fildes" +.Fc .Sh DESCRIPTION The .Fn tcgetpgrp @@ -62,18 +63,26 @@ is set to indicate the error, as follows: .Bl -tag -width Er .It Bq Er EBADF The -.Fa fd +.Fa fildes argument is not a valid file descriptor. .It Bq Er ENOTTY The calling process does not have a controlling terminal or the underlying terminal device represented by -.Fa fd +.Fa fildes is not the controlling terminal. .El +.Sh LEGACY SYNOPSIS +.Fd #include +.Fd #include +.Pp +The include file +.In sys/types.h +is necessary. .Sh SEE ALSO .Xr setpgid 2 , .Xr setsid 2 , -.Xr tcsetpgrp 3 +.Xr tcsetpgrp 3 , +.Xr compat 5 .Sh STANDARDS The .Fn tcgetpgrp