fcntl.h 449 B

123456789101112131415161718192021
  1. /*
  2. * Copyright (c) 2018 Linaro Limited
  3. *
  4. * SPDX-License-Identifier: Apache-2.0
  5. */
  6. #ifndef ZEPHYR_LIB_LIBC_MINIMAL_INCLUDE_FCNTL_H_
  7. #define ZEPHYR_LIB_LIBC_MINIMAL_INCLUDE_FCNTL_H_
  8. #define O_CREAT 0x0200
  9. #define O_APPEND 0x0400
  10. #define O_EXCL 0x0800
  11. #define O_NONBLOCK 0x4000
  12. #define F_DUPFD 0
  13. #define F_GETFL 3
  14. #define F_SETFL 4
  15. int open(const char *name, int flags, ...);
  16. #endif /* ZEPHYR_LIB_LIBC_MINIMAL_INCLUDE_SYS_FCNTL_H_ */