Searched refs:O_RDWR (Results 1 – 14 of 14) sorted by relevance
/Zephyr-Core-3.5.0/include/zephyr/posix/ |
D | fcntl.h | 16 #define O_ACCMODE (O_RDONLY | O_WRONLY | O_RDWR) 20 #define O_RDWR 02 macro
|
/Zephyr-Core-3.5.0/lib/libc/arcmwdt/include/ |
D | fcntl.h | 23 #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/ |
D | test_fs_open_flags.c | 45 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()
|
D | test_fs_dir.c | 30 res = open(TEST_DIR_FILE, O_CREAT | O_RDWR); in test_mkdir()
|
D | test_fs_file.c | 19 res = open(TEST_FILE, O_CREAT | O_RDWR); in test_file_open()
|
/Zephyr-Core-3.5.0/drivers/serial/ |
D | uart_native_ptty_bottom.c | 139 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()
|
D | uart_native_tty_bottom.c | 179 int fd = open(pathname, O_RDWR | O_NOCTTY); in native_tty_open_tty_bottom()
|
/Zephyr-Core-3.5.0/drivers/flash/ |
D | flash_simulator_native.c | 47 *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/ |
D | mqueue.c | 75 int32_t mode = 0777, flags = O_RDWR | O_CREAT, ret, i; in ZTEST()
|
/Zephyr-Core-3.5.0/subsys/modem/backends/ |
D | modem_backend_tty.c | 60 backend->tty_fd = open(backend->tty_path, (O_RDWR | O_NONBLOCK), 0644); in modem_backend_tty_open()
|
/Zephyr-Core-3.5.0/drivers/ethernet/ |
D | eth_native_posix_adapt.c | 60 fd = open(ETH_NATIVE_POSIX_DEV_NAME, O_RDWR); in eth_iface_create()
|
/Zephyr-Core-3.5.0/tests/subsys/modem/backends/tty/src/ |
D | main.c | 89 primary_fd = posix_openpt(O_RDWR | O_NOCTTY); in test_modem_backend_tty_setup()
|
/Zephyr-Core-3.5.0/drivers/eeprom/ |
D | eeprom_simulator.c | 220 eeprom_fd = open(eeprom_file_path, O_RDWR | O_CREAT, (mode_t)0600); in eeprom_mock_init()
|
/Zephyr-Core-3.5.0/lib/posix/ |
D | fs.c | 73 case O_RDWR: in posix_mode_to_zephyr()
|