summaryrefslogtreecommitdiffstats
path: root/misc-utils/waitpid.1.adoc
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-14 19:10:49 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-14 19:10:49 +0000
commitcfe5e3905201349e9cf3f95d52ff4bd100bde37d (patch)
treed0baf160cbee3195249d095f85e52d20c21acf02 /misc-utils/waitpid.1.adoc
parentInitial commit. (diff)
downloadutil-linux-cfe5e3905201349e9cf3f95d52ff4bd100bde37d.tar.xz
util-linux-cfe5e3905201349e9cf3f95d52ff4bd100bde37d.zip
Adding upstream version 2.39.3.upstream/2.39.3
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'misc-utils/waitpid.1.adoc')
-rw-r--r--misc-utils/waitpid.1.adoc67
1 files changed, 67 insertions, 0 deletions
diff --git a/misc-utils/waitpid.1.adoc b/misc-utils/waitpid.1.adoc
new file mode 100644
index 0000000..e0dae51
--- /dev/null
+++ b/misc-utils/waitpid.1.adoc
@@ -0,0 +1,67 @@
+//po4a: entry man manual
+= waitpid(1)
+:doctype: manpage
+:man manual: User Commands
+:man source: util-linux {release-version}
+:page-layout: base
+:command: waitpid
+
+== NAME
+
+waitpid - utility to wait for arbitrary processes
+
+== SYNOPSIS
+
+*waitpid* [-v] [*--timeout*|*-t* _seconds_] pid...
+
+== DESCRIPTION
+
+*waitpid* is a simple command to wait for arbitrary non-child processes.
+
+It exits after all processes whose PIDs have been passed as arguments have
+exited.
+
+== OPTIONS
+
+*-v*, *--verbose*::
+Be more verbose.
+
+*-t*, *--timeout* _seconds_::
+Maximum wait time.
+
+*-e*, *--exited*::
+Don't error on already exited PIDs.
+
+*-c*, *--count* _count_::
+Number of process exits to wait for.
+
+include::man-common/help-version.adoc[]
+
+== EXIT STATUS
+
+*waitpid* has the following exit status values:
+
+*0*::
+success
+*1*::
+unspecified failure
+*2*::
+system does not provide necessary functionality
+*3*::
+timeout expired
+
+== AUTHORS
+
+mailto:thomas@t-8ch.de[Thomas Weißschuh]
+
+== SEE ALSO
+
+*waitpid*(2) *wait*(1P)
+
+include::man-common/bugreports.adoc[]
+
+include::man-common/footer.adoc[]
+
+ifdef::translation[]
+include::man-common/translation.adoc[]
+endif::[]