Searched refs:O_RDWR (Results 1 – 17 of 17) sorted by relevance
/Zephyr-latest/include/zephyr/posix/ |
D | fcntl.h | 20 #define O_ACCMODE (O_RDONLY | O_WRONLY | O_RDWR) 24 #define O_RDWR 02 macro
|
/Zephyr-latest/drivers/net/ |
D | nsos_fcntl.c | 45 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/ |
D | mqueue.c | 73 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/ |
D | fcntl.h | 23 #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/ |
D | test_fs_dir.c | 33 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()
|
D | test_fs_open_flags.c | 51 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()
|
D | test_fs_file.c | 19 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/ |
D | uart_native_ptty_bottom.c | 145 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()
|
D | uart_native_tty_bottom.c | 187 int fd = open(pathname, O_RDWR | O_NOCTTY); in native_tty_open_tty_bottom()
|
/Zephyr-latest/drivers/flash/ |
D | flash_simulator_native.c | 53 *flash_fd = open(flash_file_path, O_RDWR | O_CREAT, (mode_t)0600); in flash_mock_init_native()
|
/Zephyr-latest/drivers/eeprom/ |
D | eeprom_simulator_native.c | 49 *eeprom_fd = open(eeprom_file_path, O_RDWR | O_CREAT, (mode_t)0600); in eeprom_mock_init_native()
|
/Zephyr-latest/drivers/ethernet/ |
D | eth_native_posix_adapt.c | 46 fd = open(dev_name, O_RDWR); in eth_iface_create()
|
/Zephyr-latest/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-latest/tests/subsys/modem/backends/tty/src/ |
D | main.c | 94 primary_fd = posix_openpt(O_RDWR | O_NOCTTY); in test_modem_backend_tty_setup()
|
/Zephyr-latest/tests/posix/shm/src/ |
D | main.c | 27 #define VALID_FLAGS (O_RDWR | O_CREAT)
|
/Zephyr-latest/lib/posix/options/ |
D | fs.c | 72 case O_RDWR: in posix_mode_to_zephyr()
|
D | shm.c | 305 bool rw = (oflag & O_RDWR) != 0; in shm_open()
|