unistd.h 464 B

1234567891011121314151617181920212223242526272829303132
  1. /*
  2. * Copyright (c) 2006-2023, RT-Thread Development Team
  3. *
  4. * SPDX-License-Identifier: Apache-2.0
  5. *
  6. * Change Logs:
  7. * Date Author Notes
  8. * 2023/06/08 Bernard Add macro definition for `#pragma once`
  9. */
  10. #ifndef UNISTD_H__
  11. #define UNISTD_H__
  12. #include "sys/unistd.h"
  13. #ifndef F_OK
  14. #define F_OK 0
  15. #endif
  16. #ifndef R_OK
  17. #define R_OK 4
  18. #endif
  19. #ifndef W_OK
  20. #define W_OK 2
  21. #endif
  22. #ifndef X_OK
  23. #define X_OK 1
  24. #endif
  25. #endif /* UNISTD_H__ */