John Park | 33858a3 | 2018-09-28 23:05:48 -0700 | [diff] [blame] | 1 | #ifndef AOS_LIBC_AOS_STRSIGNAL_H_ |
| 2 | #define AOS_LIBC_AOS_STRSIGNAL_H_ |
Brian Silverman | af78486 | 2014-05-13 08:14:55 -0700 | [diff] [blame] | 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 | |
John Park | 33858a3 | 2018-09-28 23:05:48 -0700 | [diff] [blame] | 17 | #endif // AOS_LIBC_AOS_STRSIGNAL_H_ |