Home
last modified time | relevance | path

Searched refs:O_RDWR (Results 1 – 17 of 17) sorted by relevance

/Zephyr-latest/include/zephyr/posix/
Dfcntl.h20 #define O_ACCMODE (O_RDONLY | O_WRONLY | O_RDWR)
24 #define O_RDWR 02 macro
/Zephyr-latest/drivers/net/
Dnsos_fcntl.c45 TO_NSOS_MID(O_RDWR); in fl_to_nsos_mid_()
82 FROM_NSOS_MID(O_RDWR); in fl_from_nsos_mid()
/Zephyr-latest/tests/posix/common/src/
Dmqueue.c73 int flags = O_RDWR | O_CREAT; in ZTEST()
130 int flags = O_RDWR | O_CREAT; in ZTEST()
179 int flags = O_RDWR | O_CREAT; in ZTEST()
211 int flags = O_RDWR | O_CREAT; in ZTEST()
251 int flags = O_RDWR | O_CREAT; in ZTEST()
/Zephyr-latest/lib/libc/arcmwdt/include/
Dfcntl.h23 #if O_NONBLOCK & (O_RDONLY | O_WRONLY | O_RDWR | O_NDELAY | O_CREAT | O_APPEND | O_TRUNC | O_EXCL)
/Zephyr-latest/tests/posix/fs/src/
Dtest_fs_dir.c33 res = open(TEST_DIR_FILE, O_CREAT | O_RDWR, 0770); in test_mkdir()
175 zassert_not_equal(open(TEST_DIR_FILE, O_CREAT | O_RDWR), -1, in ZTEST()
Dtest_fs_open_flags.c51 fd = open(THE_FILE, O_RDWR); in test_file_open_flags()
206 fd = open(THE_FILE, O_APPEND | O_RDWR); in test_file_open_flags()
255 fd = open(THE_FILE, O_APPEND | O_RDWR); in test_file_open_flags()
Dtest_fs_file.c19 res = open(TEST_FILE, O_CREAT | O_RDWR, 0660); in test_file_open()
353 file = open(TEST_FILE, O_RDWR | O_TRUNC); in ZTEST()
/Zephyr-latest/drivers/serial/
Duart_native_ptty_bottom.c145 master_pty = posix_openpt(O_RDWR | O_NOCTTY); in np_uart_open_ptty()
220 ret = open(slave_pty_name, O_RDWR | O_NOCTTY); in np_uart_open_ptty()
Duart_native_tty_bottom.c187 int fd = open(pathname, O_RDWR | O_NOCTTY); in native_tty_open_tty_bottom()
/Zephyr-latest/drivers/flash/
Dflash_simulator_native.c53 *flash_fd = open(flash_file_path, O_RDWR | O_CREAT, (mode_t)0600); in flash_mock_init_native()
/Zephyr-latest/drivers/eeprom/
Deeprom_simulator_native.c49 *eeprom_fd = open(eeprom_file_path, O_RDWR | O_CREAT, (mode_t)0600); in eeprom_mock_init_native()
/Zephyr-latest/drivers/ethernet/
Deth_native_posix_adapt.c46 fd = open(dev_name, O_RDWR); in eth_iface_create()
/Zephyr-latest/subsys/modem/backends/
Dmodem_backend_tty.c60 backend->tty_fd = open(backend->tty_path, (O_RDWR | O_NONBLOCK), 0644); in modem_backend_tty_open()
/Zephyr-latest/tests/subsys/modem/backends/tty/src/
Dmain.c94 primary_fd = posix_openpt(O_RDWR | O_NOCTTY); in test_modem_backend_tty_setup()
/Zephyr-latest/tests/posix/shm/src/
Dmain.c27 #define VALID_FLAGS (O_RDWR | O_CREAT)
/Zephyr-latest/lib/posix/options/
Dfs.c72 case O_RDWR: in posix_mode_to_zephyr()
Dshm.c305 bool rw = (oflag & O_RDWR) != 0; in shm_open()