Movatterモバイル変換


[0]ホーム

URL:


man7.org > Linux >man-pages

Linux/UNIX system programming training


id_t(3type) — Linux manual page

NAME |LIBRARY |SYNOPSIS |DESCRIPTION |STANDARDS |HISTORY |NOTES |SEE ALSO |COLOPHON

id_t(3type)id_t(3type)

NAME        top

       pid_t, uid_t, gid_t, id_t - process/user/group identifier

LIBRARY        top

       Standard C library (libc)

SYNOPSIS        top

#include <sys/types.h>typedef/* ... */pid_t;typedef/* ... */uid_t;typedef/* ... */gid_t;typedef/* ... */id_t;

DESCRIPTION        top

pid_t is a type used for storing process IDs, process group IDs,       and session IDs.  It is a signed integer type.uid_t is a type used to hold user IDs.  It is an integer type.gid_t is a type used to hold group IDs.  It is an integer type.id_t is a type used to hold a general identifier.  It is an       integer type that can be used to contain apid_t,uid_t, orgid_t.

STANDARDS        top

       POSIX.1-2008.

HISTORY        top

       POSIX.1-2001.

NOTES        top

       The following headers also providepid_t:<fcntl.h>,<sched.h>,<signal.h>,<spawn.h>,<sys/msg.h>,<sys/sem.h>,<sys/shm.h>,<sys/wait.h>,<termios.h>,<time.h>,<unistd.h>, and<utmpx.h>.       The following headers also provideuid_t:<pwd.h>,<signal.h>,<stropts.h>,<sys/ipc.h>,<sys/stat.h>, and<unistd.h>.       The following headers also providegid_t:<grp.h>,<pwd.h>,<signal.h>,<stropts.h>,<sys/ipc.h>,<sys/stat.h>, and<unistd.h>.       The following header also providesid_t:<sys/resource.h>.

SEE ALSO        top

chown(2),fork(2),getegid(2),geteuid(2),getgid(2),getgroups(2),getpgid(2),getpid(2),getppid(2),getpriority(2),getpwnam(3),getresgid(2),getresuid(2),getsid(2),gettid(2),getuid(2),kill(2),pidfd_open(2),sched_setscheduler(2),waitid(2),getgrnam(3),sigqueue(3),credentials(7)

COLOPHON        top

       This page is part of theman-pages (Linux kernel and C library       user-space interface documentation) project.  Information about       the project can be found at        ⟨https://www.kernel.org/doc/man-pages/⟩.  If you have a bug report       for this manual page, see       ⟨https://git.kernel.org/pub/scm/docs/man-pages/man-pages.git/tree/CONTRIBUTING⟩.       This page was obtained from the tarball man-pages-6.15.tar.gz       fetched from       ⟨https://mirrors.edge.kernel.org/pub/linux/docs/man-pages/⟩ on       2025-08-11.  If you discover any rendering problems in this HTML       version of the page, or you believe there is a better or more up-       to-date source for the page, or you have corrections or       improvements to the information in this COLOPHON (which isnot       part of the original manual page), send a mail to       man-pages@man7.orgLinux man-pages 6.15            2025-05-17id_t(3type)


HTML rendering created 2025-09-06 byMichael Kerrisk, author ofThe Linux Programming Interface.

For details of in-depthLinux/UNIX system programming training courses that I teach, lookhere.

Hosting byjambit GmbH.

Cover of TLPI


[8]ページ先頭

©2009-2025 Movatter.jp