Searched refs:O_TRUNC (Results 1 – 5 of 5) sorted by relevance
99 int o = open(map_file_name, O_TRUNC | O_BINARY | O_RDWR | O_CREAT, mode); in test_file_map_readwrite()129 int o = open(map_file_name, O_TRUNC | O_BINARY | O_RDWR | O_CREAT, mode); in test_file_map_mlock_munlock()179 int o = open(map_file_name, O_TRUNC | O_BINARY | O_RDWR | O_CREAT, mode); in test_file_map_msync()
66 } if ((oflag & O_TRUNC) == O_TRUNC) { in mapfile_open()
169 flags = O_WRONLY | O_CREAT | O_TRUNC; in _M_open()183 flags = O_RDWR | O_CREAT | O_TRUNC; in _M_open()
75 # define O_TRUNC _O_TRUNC macro
1081 fd = open (file->name, O_RDWR | O_TRUNC, 0666); in touch_file()