Changeset 1433ecda in mainline for uspace/lib/posix/src/sys/wait.c
- Timestamp:
- 2018-04-04T15:42:37Z (6 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 2c4e1cc
- Parents:
- 47b2d7e3
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/posix/src/sys/wait.c
r47b2d7e3 r1433ecda 45 45 #include "posix/signal.h" 46 46 47 int __posix_wifexited(int status) { 47 int __posix_wifexited(int status) 48 { 48 49 return status != INT_MIN; 49 50 } 50 51 51 int __posix_wexitstatus(int status) { 52 int __posix_wexitstatus(int status) 53 { 52 54 assert(__posix_wifexited(status)); 53 55 return status; 54 56 } 55 57 56 int __posix_wifsignaled(int status) { 58 int __posix_wifsignaled(int status) 59 { 57 60 return status == INT_MIN; 58 61 } 59 62 60 int __posix_wtermsig(int status) { 63 int __posix_wtermsig(int status) 64 { 61 65 assert(__posix_wifsignaled(status)); 62 66 /* There is no way to distinguish reason
Note:
See TracChangeset
for help on using the changeset viewer.