Zephyr API Documentation
4.2.0-rc3
A Scalable Open Source RTOS
4.2.0-rc3
Toggle main menu visibility
Main Page
Related Pages
Topics
Data Structures
Data Structures
Data Structure Index
Data Fields
All
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Functions
Variables
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Enumerations
Enumerator
Files
File List
Globals
All
$
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
Functions
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
Variables
$
a
b
c
d
f
g
h
i
k
l
m
n
o
p
r
s
t
u
x
z
Typedefs
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
Enumerations
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
r
s
t
u
v
w
x
z
Enumerator
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
r
s
t
u
v
w
x
z
Macros
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
Zephyr API Documentation
Introduction
Deprecated List
Topics
Data Structures
Files
File List
doc
kernel
lib
modules
subsys
zephyr
acpi
app_memory
arch
audio
bluetooth
canbus
console
crypto
data
debug
devicetree
dfu
display
drivers
dsp
dt-bindings
fs
input
internal
ipc
kernel
linker
llext
logging
lorawan
math
mem_mgmt
mgmt
misc
modbus
modem
multi_heap
net
platform
pm
pmci
portability
posix
arpa
net
netinet
sys
aio.h
dirent.h
fcntl.h
fnmatch.h
grp.h
mqueue.h
netdb.h
poll.h
posix_features.h
posix_types.h
pthread.h
pwd.h
sched.h
semaphore.h
signal.h
stropts.h
syslog.h
time.h
unistd.h
psa
random
retention
rtio
sd
sensing
settings
shell
sip_svc
stats
storage
sys
task_wdt
timing
toolchain
tracing
usb
usb_c
xen
zbus
zvfs
bindesc.h
cache.h
device.h
devicetree.h
fatal.h
fatal_types.h
init.h
irq.h
irq_multilevel.h
irq_nextlevel.h
irq_offload.h
kernel.h
kernel_includes.h
kernel_structs.h
kernel_version.h
net_buf.h
service.h
shared_irq.h
smf.h
spinlock.h
sw_isr_table.h
sys_clock.h
syscall.h
toolchain.h
types.h
Globals
•
All
Data Structures
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Macros
Modules
Pages
Loading...
Searching...
No Matches
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_POSIX_FCNTL_H_
8
#define ZEPHYR_POSIX_FCNTL_H_
9
10
#include <
zephyr/sys/fdtable.h
>
11
12
#define O_APPEND ZVFS_O_APPEND
13
#define O_CREAT ZVFS_O_CREAT
14
#define O_EXCL ZVFS_O_EXCL
15
#define O_NONBLOCK ZVFS_O_NONBLOCK
16
#define O_TRUNC ZVFS_O_TRUNC
17
18
#define O_ACCMODE (ZVFS_O_RDONLY | ZVFS_O_RDWR | ZVFS_O_WRONLY)
19
20
#define O_RDONLY ZVFS_O_RDONLY
21
#define O_RDWR ZVFS_O_RDWR
22
#define O_WRONLY ZVFS_O_WRONLY
23
24
#define F_DUPFD ZVFS_F_DUPFD
25
#define F_GETFL ZVFS_F_GETFL
26
#define F_SETFL ZVFS_F_SETFL
27
28
#ifdef __cplusplus
29
extern
"C"
{
30
#endif
31
32
int
open
(
const
char
*name,
int
flags
, ...);
33
int
fcntl
(
int
fildes,
int
cmd
, ...);
34
35
#ifdef __cplusplus
36
}
37
#endif
38
39
#endif
/* ZEPHYR_POSIX_FCNTL_H_ */
open
int open(const char *name, int flags,...)
fcntl
int fcntl(int fildes, int cmd,...)
fdtable.h
cmd
static void cmd(uint32_t command)
Execute a display list command by co-processor engine.
Definition
ft8xx_reference_api.h:153
flags
flags
Definition
parser.h:97
zephyr
posix
fcntl.h
Generated on
for Zephyr API Documentation by
1.14.0