![]() |
posix-next API 0.1.0
Out-of-tree Zephyr POSIX module
|
POSIX Extended Signals option group. More...
Functions | |
| void | psiginfo (const siginfo_t *info, const char *message) |
| Print a signal description with additional siginfo_t context. | |
| void | psignal (int sig, const char *message) |
| Print a signal description to stderr. | |
| char * | strsignal (int signo) |
| Return a string describing a signal number. | |
POSIX Extended Signals option group.
Covers strsignal() (implemented) and psignal() / psiginfo() (declared).
| void psiginfo | ( | const siginfo_t * | info, |
| const char * | message | ||
| ) |
Print a signal description with additional siginfo_t context.
| info | Signal information. |
| message | Prefix string. |
| void psignal | ( | int | sig, |
| const char * | message | ||
| ) |
Print a signal description to stderr.
| sig | Signal number. |
| message | Prefix string. |
| char * strsignal | ( | int | signo | ) |
Return a string describing a signal number.
Returns a pointer to a locale-specific message string describing the signal whose number is signo. The contents of the string pointed to by the return value must not be modified by the application. The returned pointer may be invalidated by a subsequent call to strsignal().
| signo | Signal number. |
signo is an unknown signal number.