Changeset ffff746 in mainline for uspace/lib/posix/signal.c
- Timestamp:
- 2011-07-29T17:12:52Z (13 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 11544f4
- Parents:
- 7ae249d
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/posix/signal.c
r7ae249d rffff746 252 252 " or fully unsupported signal. This handler may only be" 253 253 " invoked by the raise() function, which may not be what" 254 " the application developer intended .\nSignal name");254 " the application developer intended"); 255 255 } 256 256 … … 360 360 } 361 361 362 if (signo > _TOP_SIGNAL) { 363 errno = EINVAL; 364 return -1; 365 } 366 362 367 if (pid == (posix_pid_t) task_get_id()) { 363 368 return posix_raise(signo); 364 }365 366 if (pid > _TOP_SIGNAL) {367 errno = EINVAL;368 return -1;369 369 } 370 370
Note:
See TracChangeset
for help on using the changeset viewer.