Home
last modified time | relevance | path

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

/Zephyr-Core-3.5.0/include/zephyr/posix/
Dfcntl.h16 #define O_ACCMODE (O_RDONLY | O_WRONLY | O_RDWR)
20 #define O_RDWR 02 macro
/Zephyr-Core-3.5.0/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-Core-3.5.0/tests/posix/fs/src/
Dtest_fs_open_flags.c45 fd = open(THE_FILE, O_RDWR); in test_file_open_flags()
198 fd = open(THE_FILE, O_APPEND | O_RDWR); in test_file_open_flags()
247 fd = open(THE_FILE, O_APPEND | O_RDWR); in test_file_open_flags()
Dtest_fs_dir.c30 res = open(TEST_DIR_FILE, O_CREAT | O_RDWR); in test_mkdir()
Dtest_fs_file.c19 res = open(TEST_FILE, O_CREAT | O_RDWR); in test_file_open()
/Zephyr-Core-3.5.0/drivers/serial/
Duart_native_ptty_bottom.c139 master_pty = posix_openpt(O_RDWR | O_NOCTTY); in np_uart_open_ptty()
214 ret = open(slave_pty_name, O_RDWR | O_NOCTTY); in np_uart_open_ptty()
Duart_native_tty_bottom.c179 int fd = open(pathname, O_RDWR | O_NOCTTY); in native_tty_open_tty_bottom()
/Zephyr-Core-3.5.0/drivers/flash/
Dflash_simulator_native.c47 *flash_fd = open(flash_file_path, O_RDWR | O_CREAT, (mode_t)0600); in flash_mock_init_native()
/Zephyr-Core-3.5.0/tests/posix/common/src/
Dmqueue.c75 int32_t mode = 0777, flags = O_RDWR | O_CREAT, ret, i; in ZTEST()
/Zephyr-Core-3.5.0/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-Core-3.5.0/drivers/ethernet/
Deth_native_posix_adapt.c60 fd = open(ETH_NATIVE_POSIX_DEV_NAME, O_RDWR); in eth_iface_create()
/Zephyr-Core-3.5.0/tests/subsys/modem/backends/tty/src/
Dmain.c89 primary_fd = posix_openpt(O_RDWR | O_NOCTTY); in test_modem_backend_tty_setup()
/Zephyr-Core-3.5.0/drivers/eeprom/
Deeprom_simulator.c220 eeprom_fd = open(eeprom_file_path, O_RDWR | O_CREAT, (mode_t)0600); in eeprom_mock_init()
/Zephyr-Core-3.5.0/lib/posix/
Dfs.c73 case O_RDWR: in posix_mode_to_zephyr()