Index of Section 3 Manual Pages

Interix / SUAstrsigname.3Interix / SUA

strsigname(3)                                             strsigname(3)

  strsignal()

  NAME

    strsignal(), strsigname() - return string or name describing signal

  SYNOPSIS

    #include 

    extern const char * const sys_siglist[]

    char * strsignal(int signal)
    char * strsigname(int signal)

  DESCRIPTION

    The strsignal(3) function returns a pointer to a string that describes the
    signal passed in the argument signal. The strsigname(3) function returns a
    pointer to a string that names the signal passed in the argument signal.
    The pointer refers to a static buffer that is overwritten at the next call
    to strsignal(3).

  RETURN VALUES

    The strsignal(3) function returns a pointer to a string describing the
    signal, or a pointer to the string "Unknown signal: " and the signal
    number.

    The strsigname(3) function returns a pointer to a string naming the
    signal, or a pointer to the string "Unknown signal: " and the signal
    number.

  SEE ALSO

    strsignal(1)

    strerror(3)

  USAGE NOTES

    None of these functions are thread safe.

    None of these functions are async-signal safe.


Interix / SUAHosted at SUA Community for Interix, SUA and SFUInterix / SUA