signal.h 456 B

1234567891011121314151617181920
  1. /*
  2. * Copyright (c) 2006-2018, RT-Thread Development Team
  3. *
  4. * SPDX-License-Identifier: Apache-2.0
  5. *
  6. * Change Logs:
  7. * Date Author Notes
  8. * 2017-09-12 Bernard The first version
  9. */
  10. #ifndef SIGNAL_H__
  11. #define SIGNAL_H__
  12. #include <libc/libc_signal.h>
  13. #define SIG_DFL ((_sig_func_ptr)0) /* Default action */
  14. #define SIG_IGN ((_sig_func_ptr)1) /* Ignore action */
  15. #define SIG_ERR ((_sig_func_ptr)-1) /* Error return */
  16. #endif