fcntl.h 386 B

123456789101112131415161718192021222324
  1. /*
  2. * Copyright (c) 2006-2021, RT-Thread Development Team
  3. *
  4. * SPDX-License-Identifier: Apache-2.0
  5. *
  6. * Change Logs:
  7. * Date Author Notes
  8. * 2021-09-02 Meco Man First version
  9. */
  10. #ifndef __FCNTL_H__
  11. #define __FCNTL_H__
  12. #include_next <fcntl.h>
  13. #ifndef O_DIRECTORY
  14. #define O_DIRECTORY 0x200000
  15. #endif
  16. #ifndef O_BINARY
  17. #define O_BINARY 0x10000
  18. #endif
  19. #endif