Searched refs:f_writeonly (Results 1 – 1 of 1) sorted by relevance
49 let f_writeonly = wasip1::path_open(dir_fd, 0, "file", 0, wasip1::RIGHTS_FD_WRITE, 0, 0) in test_path_open_read_write() localVariable52 let stat = wasip1::fd_fdstat_get(f_writeonly).expect("get fdstat writeonly"); in test_path_open_read_write()68 wasip1::fd_read(f_writeonly, &[iovec]) in test_path_open_read_write()74 let bytes_written = wasip1::fd_write(f_writeonly, &[ciovec]).expect("write to writeonly"); in test_path_open_read_write()77 wasip1::fd_close(f_writeonly).expect("close writeonly"); in test_path_open_read_write()