From cfe5e3905201349e9cf3f95d52ff4bd100bde37d Mon Sep 17 00:00:00 2001
From: Daniel Baumann <daniel.baumann@progress-linux.org>
Date: Sun, 14 Apr 2024 21:10:49 +0200
Subject: Adding upstream version 2.39.3.

Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
---
 misc-utils/waitpid.1.adoc | 67 +++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 67 insertions(+)
 create mode 100644 misc-utils/waitpid.1.adoc

(limited to 'misc-utils/waitpid.1.adoc')

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::[]
-- 
cgit v1.2.3

