![]() ![]() This page, a child whose state has changed and which has not yet been waited upon by one of these system calls is termed waitable. ![]() Interrupts the call (assuming that system calls are not automatically restarted using the SA_RESTART flag of sigaction(2)). Otherwise they block until either a child changes state or a signal handler If a child has already changed state, then these calls return immediately. Remains in a "zombie" state (see NOTES below). Terminated child, performing a wait allows the system to release the resources associated with the child if a wait is not performed, then the terminated child A state change is considered to be: the child terminated the child was stopped by a signal or the child was resumed by a signal. || /* Since glibc 2.12: */ _POSIX_C_SOURCE >= 200809LĪll of these system calls are used to wait for state changes in a child of the calling process, and obtain information about the child whose state hasĬhanged. _SVID_SOURCE || _XOPEN_SOURCE >= 500 || _XOPEN_SOURCE & _XOPEN_SOURCE_EXTENDED Int waitid(idtype_t idtype, id_t id, siginfo_t * infop, int options ) įeature Test Macro Requirements for glibc (see feature_test_macros(7)): ![]() Pid_t waitpid(pid_t pid, int * status, int options )
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |