blob: 9b33df32b8ea35b0915cf09f52e8828f6c5e4733 [file] [log] [blame]
John Park33858a32018-09-28 23:05:48 -07001#ifndef AOS_LIBC_AOS_STRSIGNAL_H_
2#define AOS_LIBC_AOS_STRSIGNAL_H_
Brian Silvermanaf784862014-05-13 08:14:55 -07003
4#ifdef __cplusplus
5extern "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.
11const char *aos_strsignal(int signal);
12
13#ifdef __cplusplus
14}
15#endif
16
John Park33858a32018-09-28 23:05:48 -070017#endif // AOS_LIBC_AOS_STRSIGNAL_H_