strsignal()

Return the description of a signal

Synopsis:

#include <string.h>

char *strsignal( int signo );

Since:

BlackBerry 10.0.0

Arguments:

signo
The signal number that you want the description of.

Library:

libc

Use the -l c option to qcc to link against this library. This library is usually included automatically.

Description:

The strsignal() function returns a pointer to the language-dependent string describing a signal.

Returns:

A pointer to the description of the signal, or NULL if signo isn't a valid signal number. This array will be overwritten by subsequent calls to strsignal().

Don't modify the array returned by this function.

Classification:

Unix

Safety:  
Cancellation point No
Interrupt handler No
Signal handler Yes
Thread Yes

Last modified: 2014-06-24



Got questions about leaving a comment? Get answers from our Disqus FAQ.

comments powered by Disqus