Various modules solving daily C developer tasks
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

retcode.h 748B

12345678910111213141516171819202122232425262728
  1. /******************************************************************************
  2. *
  3. * Copyright (c) 2017-2019 by Löwenware Ltd
  4. * Please, refer LICENSE file for legal information
  5. *
  6. ******************************************************************************/
  7. /**
  8. * @file retcode.h
  9. * @author Ilja Kartašov <ik@lowenware.com>
  10. * @brief cStuff return codes
  11. *
  12. * @see https://lowenware.com/
  13. */
  14. #ifndef CSTUFF_RETCODE_H_CBA3C16B_88D6_49F4_966D_DBDA727583FE
  15. #define CSTUFF_RETCODE_H_CBA3C16B_88D6_49F4_966D_DBDA727583FE
  16. typedef enum {
  17. CSTUFF_INPUT_ERROR = -3
  18. , CSTUFF_MALLOC_ERROR = -2
  19. , CSTUFF_SYSCALL_ERROR = -1
  20. , CSTUFF_SUCCESS = 0
  21. , CSTUFF_IDLE = 1
  22. } CStuffRetcode;
  23. #endif /* !CSTUFF_RETCODE_H */