diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-15 19:40:15 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-15 19:40:15 +0000 |
commit | 399644e47874bff147afb19c89228901ac39340e (patch) | |
tree | 1c4c0b733f4c16b5783b41bebb19194a9ef62ad1 /man3type/id_t.3type | |
parent | Initial commit. (diff) | |
download | manpages-399644e47874bff147afb19c89228901ac39340e.tar.xz manpages-399644e47874bff147afb19c89228901ac39340e.zip |
Adding upstream version 6.05.01.upstream/6.05.01
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'man3type/id_t.3type')
-rw-r--r-- | man3type/id_t.3type | 110 |
1 files changed, 110 insertions, 0 deletions
diff --git a/man3type/id_t.3type b/man3type/id_t.3type new file mode 100644 index 0000000..9b30e47 --- /dev/null +++ b/man3type/id_t.3type @@ -0,0 +1,110 @@ +.\" Copyright (c) 2020-2022 by Alejandro Colomar <alx@kernel.org> +.\" and Copyright (c) 2020 by Michael Kerrisk <mtk.manpages@gmail.com> +.\" +.\" SPDX-License-Identifier: Linux-man-pages-copyleft +.\" +.\" +.TH id_t 3type 2023-03-30 "Linux man-pages 6.05.01" +.SH NAME +pid_t, uid_t, gid_t, id_t \- process/user/group identifier +.SH LIBRARY +Standard C library +.RI ( libc ) +.SH SYNOPSIS +.nf +.B #include <sys/types.h> +.PP +.BR typedef " /* ... */ " pid_t; +.BR typedef " /* ... */ " uid_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. +It is a signed integer type. +.PP +.I uid_t +is a type used to hold user IDs. +It is an integer type. +.PP +.I gid_t +is a type used to hold group IDs. +It is an integer type. +.PP +.I id_t +is a type used to hold a general identifier. +It is an integer type that can be used to contain a +.IR pid_t , +.IR uid_t , +or +.IR gid_t . +.SH STANDARDS +POSIX.1-2008. +.SH HISTORY +POSIX.1-2001. +.SH NOTES +The following headers also provide +.IR pid_t : +.IR <fcntl.h> , +.IR <sched.h> , +.IR <signal.h> , +.IR <spawn.h> , +.IR <sys/msg.h> , +.IR <sys/sem.h> , +.IR <sys/shm.h> , +.IR <sys/wait.h> , +.IR <termios.h> , +.IR <time.h> , +.IR <unistd.h> , +and +.IR <utmpx.h> . +.PP +The following headers also provide +.IR uid_t : +.IR <pwd.h> , +.IR <signal.h> , +.IR <stropts.h> , +.IR <sys/ipc.h> , +.IR <sys/stat.h> , +and +.IR <unistd.h> . +.PP +The following headers also provide +.IR gid_t : +.IR <grp.h> , +.IR <pwd.h> , +.IR <signal.h> , +.IR <stropts.h> , +.IR <sys/ipc.h> , +.IR <sys/stat.h> , +and +.IR <unistd.h> . +.PP +The following header also provides +.IR id_t : +.IR <sys/resource.h> . +.SH SEE ALSO +.BR chown (2), +.BR fork (2), +.BR getegid (2), +.BR geteuid (2), +.BR getgid (2), +.BR getgroups (2), +.BR getpgid (2), +.BR getpid (2), +.BR getppid (2), +.BR getpriority (2), +.BR getpwnam (3), +.BR getresgid (2), +.BR getresuid (2), +.BR getsid (2), +.BR gettid (2), +.BR getuid (2), +.BR kill (2), +.BR pidfd_open (2), +.BR sched_setscheduler (2), +.BR waitid (2), +.BR getgrnam (3), +.BR sigqueue (3), +.BR credentials (7) |