aboutsummaryrefslogtreecommitdiff
path: root/lib/libc/sys/wait.2
Commit message (Collapse)AuthorAgeFilesLines
* wait(2): clarify reparenting of children of the exiting process.Konstantin Belousov2019-08-111-3/+8
| | | | | | | | | | | Point to the existence of reapers and mention that init is the default reaper. Sponsored by: The FreeBSD Foundation MFC after: 3 days Notes: svn path=/head/; revision=350861
* wait(2): split long line by using .Fo/.Fa instead of .Ft.Konstantin Belousov2019-08-111-1/+7
| | | | | | | | Sponsored by: The FreeBSD Foundation MFC after: 3 days Notes: svn path=/head/; revision=350860
* Clarify slightly the interaction between wait*() and pdfork().Mark Johnston2018-10-241-5/+5
| | | | | | | | | | | | There are multiple ways to wait for any child process to return a status (e.g., waitpid(-1, ...), waitid(P_ALL, ...)), so don't be so specific. MFC after: 1 week Sponsored by: The FreeBSD Foundation Notes: svn path=/head/; revision=339692
* Mark all the system calls that were in 1st Edition Unix as such in theWarner Losh2017-12-011-2/+2
| | | | | | | | | | HISTORY section. Note: Any system calls that were added prior to v7, but after v1 weren't changed. Obtained from: http://www.tuhs.org/cgi-bin/utree.pl?file=V1/man/man2 Notes: svn path=/head/; revision=326435
* pdwait4(2): Remove documentation of vaporwareConrad Meyer2017-06-171-4/+2
| | | | | | | | | | This syscall has never existed and is not at risk of existing any time soon. Remove documentation referencing it, which has been wrong since FreeBSD 9. Reported by: allanjude@ Notes: svn path=/head/; revision=320058
* Renumber copyright clause 4Warner Losh2017-02-281-1/+1
| | | | | | | | | | | | Renumber cluase 4 to 3, per what everybody else did when BSD granted them permission to remove clause 3. My insistance on keeping the same numbering for legal reasons is too pedantic, so give up on that point. Submitted by: Jan Schaumann <jschauma@stevens.edu> Pull Request: https://github.com/freebsd/freebsd/pull/96 Notes: svn path=/head/; revision=314436
* Document behavior of wait introduced in the r286698.Mariusz Zaborski2016-06-011-1/+9
| | | | | | | | | Suggested by: glebius Reviewed by: wblock, bjk Differential Revision: https://reviews.freebsd.org/D6080 Notes: svn path=/head/; revision=301159
* libc: spelling fixes.Pedro F. Giffuni2016-04-301-1/+1
| | | | | | | Mostly on comments. Notes: svn path=/head/; revision=298830
* The si_status field of the siginfo_t, provided by the waitid(2) andKonstantin Belousov2015-07-181-7/+9
| | | | | | | | | | | | | | | | | | | SIGCHLD signal, should keep full 32 bits of the status passed to the _exit(2). Split the combined p_xstat of the struct proc into the separate exit status p_xexit for normal process exit, and signalled termination information p_xsig. Kernel-visible macro KW_EXITCODE() reconstructs old p_xstat from p_xexit and p_xsig. p_xexit contains complete status and copied out into si_status. Requested by: Joerg Schilling Reviewed by: jilles (previous version), pho Tested by: pho Sponsored by: The FreeBSD Foundation Notes: svn path=/head/; revision=285670
* mdoc: remove EOL whitespace.Joel Dahl2013-12-061-2/+2
| | | | Notes: svn path=/head/; revision=259041
* Various updates and tweaks to the wait(2) manpage.John Baldwin2013-12-031-132/+174
| | | | | | | | | PR: docs/183904 Submitted by: Michael Galassi <michaelgalassi@gmail.com> Reviewed by: kib, wblock (earlier version) Notes: svn path=/head/; revision=258891
* waitid(2): Do not tell userland programmers to include <sys/signal.h>.Jilles Tjoelker2013-12-011-1/+1
| | | | | | | Userland should get these definitions by including <signal.h>. Notes: svn path=/head/; revision=258793
* wait(2): Add some possible caveats to standards section.Jilles Tjoelker2013-09-071-4/+18
| | | | Notes: svn path=/head/; revision=255358
* Document wait6() and waitid().Konstantin Belousov2012-11-131-31/+280
| | | | | | | | | PR: standards/170346 Submitted by: "Jukka A. Ukkonen" <jau@iki.fi> MFC after: 1 month Notes: svn path=/head/; revision=242961
* When WIFCONTINUED was added, the number of "first" macros grew fromJohn Baldwin2012-09-051-1/+1
| | | | | | | | | three to four. MFC after: 1 week Notes: svn path=/head/; revision=240132
* Note how wait(3) is implemented.David E. O'Brien2011-06-181-0/+13
| | | | Notes: svn path=/head/; revision=223217
* The waitpid(2) function needs neither sys/time.h nor sys/resource.h.Pawel Jakub Dawidek2010-01-201-2/+2
| | | | Notes: svn path=/head/; revision=202721
* Implement WNOWAIT flag for wait4(2). It specifies that process whose statusKonstantin Belousov2008-08-261-2/+10
| | | | | | | | | | | | is returned shall be kept in the waitable state. Add WSTOPPED as an alias for WUNTRACED. Submitted by: Jukka Ukkonen <jau at iki fi> PR: standards/116221 MFC after: 2 weeks Notes: svn path=/head/; revision=182193
* Per Regents of the University of Calfornia letter, remove advertisingWarner Losh2007-01-091-4/+0
| | | | | | | | | clause. # If I've done so improperly on a file, please let me know. Notes: svn path=/head/; revision=165903
* Remove reference to "System call restart" in intro(2). intro(2) does notCraig Rodrigues2006-05-201-3/+4
| | | | | | | | have such a reference. Add a reference instead to SA_RESTART in sigaction(2). Notes: svn path=/head/; revision=158776
* Sort .Xr by section number.David Xu2005-12-131-2/+2
| | | | | | | Submitted by: ru Notes: svn path=/head/; revision=153376
* Add cross references to siginfo.3.David Xu2005-12-131-0/+1
| | | | Notes: svn path=/head/; revision=153370
* -mdoc sweep.Ruslan Ermilov2005-11-171-7/+15
| | | | Notes: svn path=/head/; revision=152551
* add continued status.David Xu2005-11-121-4/+4
| | | | Notes: svn path=/head/; revision=152325
* Er, highlight function wait().David Xu2005-11-111-7/+10
| | | | Notes: svn path=/head/; revision=152294
* Add notes about queued SIGCHLD.David Xu2005-11-111-0/+10
| | | | Notes: svn path=/head/; revision=152293
* Sort sections.Ruslan Ermilov2005-01-201-5/+5
| | | | Notes: svn path=/head/; revision=140505
* Sort SEE ALSO references (in dictionary order, ignoring case).Ruslan Ermilov2004-07-041-1/+1
| | | | Notes: svn path=/head/; revision=131594
* Mechanically kill hard sentence breaks.Ruslan Ermilov2004-07-021-2/+4
| | | | Notes: svn path=/head/; revision=131504
* Finally document the option to avoid zombie creationYaroslav Tykhiy2004-06-071-0/+8
| | | | | | | through ignoring SIGCHLD. Notes: svn path=/head/; revision=130186
* mdoc(7) police: "The .Fa argument.".Ruslan Ermilov2002-12-191-4/+4
| | | | Notes: svn path=/head/; revision=108087
* mdoc(7) police: Tidy up the syscall language.Ruslan Ermilov2002-12-181-5/+7
| | | | | | | | | | | | | Stop calling system calls "function calls". Use "The .Fn system call" a-la "The .Nm utility". When referring to a non-BSD implementation in the HISTORY section, call syscall a function, to be safe. Notes: svn path=/head/; revision=108028
* Add mdoc bits for the new waitpid() WCONTINUED option, andMike Barcroft2002-06-011-0/+12
| | | | | | | WIFCONTINUED macro. Notes: svn path=/head/; revision=97715
* mdoc(7) police: Use the new .In macro for #include statements.Ruslan Ermilov2001-10-011-4/+4
| | | | Notes: svn path=/head/; revision=84306
* Remove whitespace at EOL.Dima Dorfman2001-07-151-4/+4
| | | | Notes: svn path=/head/; revision=79754
* mdoc(7) police: removed HISTORY info from the .Os call.Ruslan Ermilov2001-07-101-1/+1
| | | | Notes: svn path=/head/; revision=79531
* mdoc(7) police: sort SEE ALSO xrefs (sort -b -f +2 -3 +1 -2).Ruslan Ermilov2001-07-061-1/+1
| | | | Notes: svn path=/head/; revision=79366
* mdoc(7) police: Er macro usage cleanup.Ruslan Ermilov2000-11-221-1/+1
| | | | Notes: svn path=/head/; revision=69051
* When "any" acts as a subject, the verb must agree with whatever any is of.Tim Vanderhoek2000-05-111-2/+2
| | | | Notes: svn path=/head/; revision=60349
* Introduce ".Lb" macro to libc manpages.Alexey Zelkin2000-04-211-0/+2
| | | | | | | More libraries manpages updates following. Notes: svn path=/head/; revision=59460
* $Id$ -> $FreeBSD$Peter Wemm1999-08-281-1/+1
| | | | Notes: svn path=/head/; revision=50476
* Add $Id$, to make it simpler for members of the translation teams toNik Clayton1999-07-121-0/+1
| | | | | | | | | | | | | | | | | | | | track. The $Id$ line is normally at the bottom of the main comment block in the man page, separated from the rest of the manpage by an empty comment, like so; .\" $Id$ .\" If the immediately preceding comment is a @(#) format ID marker than the the $Id$ will line up underneath it with no intervening blank lines. Otherwise, an additional blank line is inserted. Approved by: bde Notes: svn path=/head/; revision=48794
* Expanded cross references.Alexander Langer1998-01-021-0/+1
| | | | Notes: svn path=/head/; revision=32193
* Correctly use .Fn instead of .Nm to reference function namesMike Pritchard1996-08-221-2/+3
| | | | | | | | | | | in a bunch of man pages. Use the correct .Bx (BSD UNIX) or .At (AT&T UNIX) macros instead of explicitly specifying the version in the text in a bunch of man pages. Notes: svn path=/head/; revision=17782
* Correct a bunch of man page cross references and generallyMike Pritchard1996-02-111-4/+5
| | | | | | | | | try and silence "manck". ncurses, rpc, and some of the gnu stuff are still a big mess, however. Notes: svn path=/head/; revision=14038
* BSD 4.4 Lite Lib SourcesRodney W. Grimes1994-05-271-0/+295
Notes: svn path=/cvs2svn/branches/unlabeled-1.1.1/; revision=1573