Zephyr API Documentation  2.7.0-rc2
A Scalable Open Source RTOS
fcntl.h
Go to the documentation of this file.
1/*
2 * Copyright (c) 2018 Linaro Limited
3 *
4 * SPDX-License-Identifier: Apache-2.0
5 */
6
7#ifndef ZEPHYR_LIB_LIBC_MINIMAL_INCLUDE_FCNTL_H_
8#define ZEPHYR_LIB_LIBC_MINIMAL_INCLUDE_FCNTL_H_
9
10#define O_CREAT 0x0200
11#define O_APPEND 0x0400
12#define O_EXCL 0x0800
13#define O_NONBLOCK 0x4000
14
15#define F_DUPFD 0
16#define F_GETFL 3
17#define F_SETFL 4
18
19int open(const char *name, int flags, ...);
20
21#endif /* ZEPHYR_LIB_LIBC_MINIMAL_INCLUDE_SYS_FCNTL_H_ */
int open(const char *name, int flags,...)
flags
Definition: http_parser.h:131