posix-next API 0.1.0
Out-of-tree Zephyr POSIX module
Loading...
Searching...
No Matches
POSIX_SIGNALS_EXT
Implementation completeness: 33.3%33IMPLLine coverage: 100.0%100COVLinux compatibility tests: passing🐧

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.
 

Detailed Description

POSIX Extended Signals option group.

Covers strsignal() (implemented) and psignal() / psiginfo() (declared).

See also
https://pubs.opengroup.org/onlinepubs/9699919799/xrat/V4_subprofiles.html

Function Documentation

◆ psiginfo()

void psiginfo ( const siginfo_t info,
const char *  message 
)
Linux compatibility tests: passing🐧

Print a signal description with additional siginfo_t context.

Parameters
infoSignal information.
messagePrefix string.
See also
https://pubs.opengroup.org/onlinepubs/9699919799/functions/psiginfo.html

◆ psignal()

void psignal ( int  sig,
const char *  message 
)
Linux compatibility tests: passing🐧

Print a signal description to stderr.

Parameters
sigSignal number.
messagePrefix string.
See also
https://pubs.opengroup.org/onlinepubs/9699919799/functions/psignal.html

◆ strsignal()

char * strsignal ( int  signo)
Linux compatibility tests: passing🐧

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().

Parameters
signoSignal number.
Returns
Pointer to a string describing the signal, or an unspecified string if signo is an unknown signal number.
See also
https://pubs.opengroup.org/onlinepubs/9699919799/functions/strsignal.html