diff options
| author | armink <[email protected]> | 2019-12-20 14:46:01 +0800 |
|---|---|---|
| committer | armink <[email protected]> | 2019-12-20 16:03:33 +0800 |
| commit | a383385a3c0a676cee4471fd3cb4f372a36e1023 (patch) | |
| tree | 594994078d07de40ba37c47d5d5c536a51bfe0fc /components/libc/compilers | |
| parent | 840eec5594e9a85d054a3242c814146ab12ad3ee (diff) | |
Sync from master v4.0.2 .
Diffstat (limited to 'components/libc/compilers')
| -rw-r--r-- | components/libc/compilers/minilibc/signal.h | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/components/libc/compilers/minilibc/signal.h b/components/libc/compilers/minilibc/signal.h new file mode 100644 index 0000000000..f52f1e1009 --- /dev/null +++ b/components/libc/compilers/minilibc/signal.h @@ -0,0 +1,20 @@ +/* + * Copyright (c) 2006-2018, RT-Thread Development Team + * + * SPDX-License-Identifier: Apache-2.0 + * + * Change Logs: + * Date Author Notes + * 2017-09-12 Bernard The first version + */ + +#ifndef SIGNAL_H__ +#define SIGNAL_H__ + +#include <libc/libc_signal.h> + +#define SIG_DFL ((_sig_func_ptr)0) /* Default action */ +#define SIG_IGN ((_sig_func_ptr)1) /* Ignore action */ +#define SIG_ERR ((_sig_func_ptr)-1) /* Error return */ + +#endif |
