aboutsummaryrefslogtreecommitdiff
path: root/bin/pwait
Commit message (Collapse)AuthorAgeFilesLines
* Use a different way to silence clang analyzer as done in r245494 byXin LI2013-01-161-2/+1
| | | | | | | | | explicitly telling the compiler that we are on the exit route. X-MFC: together with r245494 Notes: svn path=/head/; revision=245506
* Free memory before exiting in order to silence a warning from the clangEitan Adler2013-01-161-0/+1
| | | | | | | | | | static analyzer Approved by: cperciva MFC after: 3 days Notes: svn path=/head/; revision=245494
* Remove trailing whitespace per mdoc lint warningEitan Adler2012-03-291-1/+1
| | | | | | | | | | Disussed with: gavin No objection from: doc Approved by: joel MFC after: 3 days Notes: svn path=/head/; revision=233648
* Remove superfluous paragraph macro.Joel Dahl2012-03-251-1/+0
| | | | Notes: svn path=/head/; revision=233457
* mdoc: order prologue macros consistently by Dd/Dt/OsUlrich Spörlein2010-04-141-1/+1
| | | | | | | | | | | Although groff_mdoc(7) gives another impression, this is the ordering most widely used and also required by mdocml/mandoc. Reviewed by: ru Approved by: philip, ed (mentors) Notes: svn path=/head/; revision=206622
* Add pwait utility, which waits for any process to terminate.Jilles Tjoelker2009-11-173-0/+228
This is similar to the Solaris utility of the same name. Some use cases: * rc.subr's wait_for_pids * interactive use, e.g. to shut down the computer when some task is done even if the task is already running Discussed on: hackers@ Notes: svn path=/head/; revision=199458