opnsense-src/bin/pwait
Dag-Erling Smørgrav 955650f181 pwait: Add an option to print remaining processes
* On startup, insert all valid PIDs into a tree.
* In our main loop, whenever a process terminates, remove its PID
  from the tree.
* On exit, if the -p flag was specified, print the remaining PIDs.

MFC after:	3 days
Reviewed by:	bcr, markj
Differential Revision:	https://reviews.freebsd.org/D53293

(cherry picked from commit 3d73146baeb933fe955c7496572b483a9f92914c)
2025-10-30 10:37:35 +00:00
..
tests pwait: Add an option to print remaining processes 2025-10-30 10:37:35 +00:00
Makefile Remove residual blank line at start of Makefile 2024-07-15 16:43:39 -06:00
Makefile.depend Remove $FreeBSD$: one-line sh pattern 2023-08-16 11:55:03 -06:00
pwait.1 pwait: Add an option to print remaining processes 2025-10-30 10:37:35 +00:00
pwait.c pwait: Add an option to print remaining processes 2025-10-30 10:37:35 +00:00