Changeset 7f9df7b9 in mainline for uspace/lib/posix/src/sys/wait.c
- Timestamp:
- 2018-01-22T22:42:57Z (7 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 7a08c70
- Parents:
- e0f47f5
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/posix/src/sys/wait.c
re0f47f5 r7f9df7b9 33 33 /** @file Support for waiting. 34 34 */ 35 36 #define LIBPOSIX_INTERNAL37 #define __POSIX_DEF__(x) posix_##x38 35 39 36 #include "../internal/common.h" … … 76 73 * -1 on signal interrupt, (pid_t)-1 otherwise. 77 74 */ 78 p osix_pid_t posix_wait(int *stat_ptr)75 pid_t wait(int *stat_ptr) 79 76 { 80 77 /* HelenOS does not support this. */ 81 78 errno = ENOSYS; 82 return (p osix_pid_t) -1;79 return (pid_t) -1; 83 80 } 84 81 … … 94 91 * no child process whose status can be reported, (pid_t)-1 otherwise. 95 92 */ 96 p osix_pid_t posix_waitpid(posix_pid_t pid, int *stat_ptr, int options)93 pid_t waitpid(pid_t pid, int *stat_ptr, int options) 97 94 { 98 95 assert(stat_ptr != NULL); … … 104 101 if (failed(task_wait_task_id((task_id_t) pid, &texit, &retval))) { 105 102 /* Unable to retrieve status. */ 106 return (p osix_pid_t) -1;103 return (pid_t) -1; 107 104 } 108 105
Note:
See TracChangeset
for help on using the changeset viewer.