Brian Silverman | af78486 | 2014-05-13 08:14:55 -0700 | [diff] [blame^] | 1 | #ifndef AOS_COMMON_LIBC_AOS_STRSIGNAL_H_ |
2 | #define AOS_COMMON_LIBC_AOS_STRSIGNAL_H_ | ||||
3 | |||||
4 | #ifdef __cplusplus | ||||
5 | extern "C" { | ||||
6 | #endif | ||||
7 | |||||
8 | // Thread-safe version of strsignal(3) (except it will never return NULL). | ||||
9 | // | ||||
10 | // Returns a pointer to static data or a thread-local buffer. | ||||
11 | const char *aos_strsignal(int signal); | ||||
12 | |||||
13 | #ifdef __cplusplus | ||||
14 | } | ||||
15 | #endif | ||||
16 | |||||
17 | #endif // AOS_COMMON_LIBC_AOS_STRSIGNAL_H_ |