From: Alejandro Colomar Date: Tue, 2 Nov 2021 13:03:22 +0000 (+0100) Subject: id_t.3, pid_t.3, system_data_types.7: Move pid_t to id_t.3 X-Git-Tag: man-pages-5.19-rc1~750 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ac2c648300c3b2cda8f06fd0006a48d080ae8f85;p=thirdparty%2Fman-pages.git id_t.3, pid_t.3, system_data_types.7: Move pid_t to id_t.3 Signed-off-by: Alejandro Colomar --- diff --git a/man3/id_t.3 b/man3/id_t.3 index 5baaeb9a6d..0cdd163c94 100644 --- a/man3/id_t.3 +++ b/man3/id_t.3 @@ -1,14 +1,24 @@ .TH ID_T 3 2021-11-02 Linux "Linux Programmer's Manual" .SH NAME -gid_t, id_t \- process/user/group identifier +pid_t, gid_t, id_t \- process/user/group identifier .SH SYNOPSIS .nf .B #include .PP +.BR typedef " /* ... */ " pid_t; .BR typedef " /* ... */ " gid_t; .BR typedef " /* ... */ " id_t; .fi .SH DESCRIPTION +.I pid_t +is a type used for storing process IDs, process group IDs, and session IDs. +According to POSIX, it shall be a signed integer type, +and the implementation shall support one or more programming environments +where the width of +.I pid_t +is no greater than the width of the type +.IR long . +.PP .I gid_t is a type used to hold group IDs. According to POSIX, @@ -26,6 +36,22 @@ or POSIX.1-2001 and later. .SH NOTES The following headers also provide +.IR pid_t : +.IR , +.IR , +.IR , +.IR , +.IR , +.IR , +.IR , +.IR , +.IR , +.IR , +.IR , +and +.IR . +.PP +The following headers also provide .IR gid_t : .IR , .IR , @@ -41,11 +67,21 @@ The following header also provides .IR . .SH SEE ALSO .BR chown (2), -.BR getgid (2), +.BR fork (2), .BR getegid (2), +.BR getgid (2), .BR getgroups (2), +.BR getpgid (2), +.BR getpid (2), +.BR getppid (2), .BR getpriority (2), .BR getresgid (2), -.BR waitid (2) +.BR getsid (2), +.BR gettid (2), +.BR kill (2), +.BR pidfd_open (2), +.BR sched_setscheduler (2), +.BR waitid (2), .BR getgrnam (3), +.BR sigqueue (3), .BR credentials (7) diff --git a/man3/pid_t.3 b/man3/pid_t.3 index db50c0f091..af7be45e36 100644 --- a/man3/pid_t.3 +++ b/man3/pid_t.3 @@ -1 +1 @@ -.so man7/system_data_types.7 +.so man3/id_t.3 diff --git a/man7/system_data_types.7 b/man7/system_data_types.7 index 45f39721fb..f1531c67f1 100644 --- a/man7/system_data_types.7 +++ b/man7/system_data_types.7 @@ -513,51 +513,6 @@ See also the type in this page. .RE .\"------------------------------------- pid_t ------------------------/ -.TP -.I pid_t -.RS -.IR Include : -.IR . -Alternatively, -.IR , -.IR , -.IR , -.IR , -.IR , -.IR , -.IR , -.IR , -.IR , -.IR , -.IR , -or -.IR . -.PP -This type is used for storing process IDs, process group IDs, and session IDs. -According to POSIX, it shall be a signed integer type, -and the implementation shall support one or more programming environments -where the width of -.I pid_t -is no greater than the width of the type -.IR long . -.PP -.IR "Conforming to" : -POSIX.1-2001 and later. -.PP -.IR "See also" : -.BR fork (2), -.BR getpid (2), -.BR getppid (2), -.BR getsid (2), -.BR gettid (2), -.BR getpgid (2), -.BR kill (2), -.BR pidfd_open (2), -.BR sched_setscheduler (2), -.BR waitpid (2), -.BR sigqueue (3), -.BR credentials (7), -.RE .\"------------------------------------- ptrdiff_t --------------------/ .TP .I ptrdiff_t