diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-06-17 10:52:33 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-06-17 10:52:33 +0000 |
commit | 2c3307fb903f427be3d021c5780b75cac9af2ce8 (patch) | |
tree | 65cf431f40b7481d81ae2dfce9576342686448f7 /upstream/debian-unstable/man2/getpid.2 | |
parent | Releasing progress-linux version 4.22.0-1~progress7.99u1. (diff) | |
download | manpages-l10n-2c3307fb903f427be3d021c5780b75cac9af2ce8.tar.xz manpages-l10n-2c3307fb903f427be3d021c5780b75cac9af2ce8.zip |
Merging upstream version 4.23.0.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'upstream/debian-unstable/man2/getpid.2')
-rw-r--r-- | upstream/debian-unstable/man2/getpid.2 | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/upstream/debian-unstable/man2/getpid.2 b/upstream/debian-unstable/man2/getpid.2 index 3b788233..a2c7418f 100644 --- a/upstream/debian-unstable/man2/getpid.2 +++ b/upstream/debian-unstable/man2/getpid.2 @@ -2,7 +2,7 @@ .\" .\" SPDX-License-Identifier: Linux-man-pages-copyleft .\" -.TH getpid 2 2023-03-30 "Linux man-pages 6.05.01" +.TH getpid 2 2024-05-02 "Linux man-pages 6.8" .SH NAME getpid, getppid \- get process identification .SH LIBRARY @@ -11,7 +11,7 @@ Standard C library .SH SYNOPSIS .nf .B #include <unistd.h> -.PP +.P .B pid_t getpid(void); .B pid_t getppid(void); .fi @@ -20,7 +20,7 @@ Standard C library returns the process ID (PID) of the calling process. (This is often used by routines that generate unique temporary filenames.) -.PP +.P .BR getppid () returns the process ID of the parent of the calling process. This will be either the ID of the process that created this process using @@ -109,7 +109,7 @@ via the glibc wrapper function. .BR clone (2).) Furthermore, the complexity of the caching code had been the source of a few bugs within glibc over the years. -.PP +.P Because of the aforementioned problems, since glibc 2.25, the PID cache is removed: .\" commit c579f48edba88380635ab98cb612030e3ed8691e @@ -124,7 +124,7 @@ If the caller's parent is in a different PID namespace (see .BR pid_namespaces (7)), .BR getppid () returns 0. -.PP +.P From a kernel perspective, the PID (which is shared by all of the threads in a multithreaded process) is sometimes also known as the thread group ID (TGID). |