aboutsummaryrefslogtreecommitdiffstats
path: root/man/man2/wait.2
diff options
context:
space:
mode:
authorAlejandro Colomar <alx@kernel.org>2025-10-29 12:27:06 +0100
committerAlejandro Colomar <alx@kernel.org>2025-10-29 12:27:06 +0100
commit0b2d9bd664822e5dd8affa0583c533a9fac45027 (patch)
tree6fd4fe1f8ad589066404d041d3874038e2230662 /man/man2/wait.2
parent1411f78d518e043fbbc761409313db3be4bc038b (diff)
parent429fd8f39add390a2be28d8d4dee68e4d9897a32 (diff)
downloadman-pages-posix24.tar.gz
man/: Update some APIs for POSIX.1-2024posix24
This work is incomplete, but waiting until all pages have been updated would unnecessarily delay publishing these changes, which are already useful. Signed-off-by: Alejandro Colomar <alx@kernel.org>
Diffstat (limited to 'man/man2/wait.2')
-rw-r--r--man/man2/wait.211
1 files changed, 3 insertions, 8 deletions
diff --git a/man/man2/wait.2 b/man/man2/wait.2
index cbec496405..69eb55f69d 100644
--- a/man/man2/wait.2
+++ b/man/man2/wait.2
@@ -184,19 +184,14 @@ This macro should be employed only if
.B WIFSIGNALED
returned true.
.TP
-.BI WCOREDUMP( wstatus )
+.BI WCOREDUMP( wstatus ) " \f[R]// POSIX.1-2024\f[]"
returns true if the child produced a core dump (see
.BR core (5)).
This macro should be employed only if
.B WIFSIGNALED
returned true.
-.IP
-This macro is not specified in POSIX.1-2001 and is not available on
-some UNIX implementations (e.g., AIX, SunOS).
-Therefore, enclose its use inside
-.IR \%#ifdef\~WCOREDUMP .
.TP
-.BI WIFSTOPPED( wstatus )
+.BI WIFSTOPPED( wstatus ) " \f[R]// POSIX.1-2024\f[]"
returns true if the child process was stopped by delivery of a signal;
this is possible only if the call was done using
.B WUNTRACED
@@ -476,7 +471,7 @@ See
.BR getrusage (2)
for details.
.SH STANDARDS
-POSIX.1-2008.
+POSIX.1-2024.
.SH HISTORY
SVr4, 4.3BSD, POSIX.1-2001.
.SH NOTES