![]() ![]() Returns the number of the signal that caused the child Returns true if the child process was terminated by a Should be employed only if WIFEXITED returned true. The argument for a return statement in main(). The child specified in a call to exit(3) or _exit(2) or as The least significant 8 bits of the status argument that Returns true if the child terminated normally, that is, byĬalling exit(3) or _exit(2), or by returning from main(). Itself as an argument, not a pointer to it, as is done in wait() Inspected with the following macros (which take the integer ![]() Information in the int to which it points. If wstatus is not NULL, wait() and waitpid() store status Is provided even if this option is not specified.Īlso return if a stopped child has been resumed by Status for traced children which have stopped Return immediately if no child has exited.Īlso return if a child has stopped (but not traced via The value of options is an OR of zero or more of the following || /* Glibc 0 meaning wait for the child whose process ID is equal to */įeature Test Macro Requirements for glibc (see NOTES for information on the raw system call. * This is the glibc and POSIX interface see SYNOPSIS top #include pid_t wait(int * wstatus ) pid_t waitpid(pid_t pid, int * wstatus, int options ) int waitid(idtype_t idtype, id_t id, siginfo_t * infop, int options ) Wait, waitpid, waitid - wait for process to change state WAIT(2) Linux Programmer's Manual WAIT(2) NAME top ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. Archives
January 2023
Categories |