Searched refs:O_TRUNC (Results 1 - 25 of 91) sorted by relevance

1234

/haiku/src/tests/servers/input/comm/
H A Darea.c16 int fd = open ("/tmp/input_area.bin", O_WRONLY | O_CREAT | O_TRUNC, 0644);
/haiku/headers/os/storage/
H A DStorageDefs.h29 #define B_ERASE_FILE O_TRUNC /* erase the file's data */
/haiku/src/tests/system/libroot/posix/
H A Dposix_spawn_redir_test.c16 O_WRONLY | O_CREAT | O_TRUNC, 0644);
H A Dseek_and_write_test.cpp85 int fd = open(name, O_RDWR | O_TRUNC | O_CREAT, 0644);
/haiku/src/tests/add-ons/kernel/file_systems/bfs/rename/
H A Drename.c19 file = open("__file", O_CREAT | O_TRUNC | O_WRONLY);
/haiku/src/tests/system/kernel/
H A Dmmap_resize_test.cpp23 int fd = open(fileName, O_CREAT | O_RDWR | O_TRUNC, 0644);
/haiku/src/bin/debug/time_stats/
H A Dtime_stats.cpp100 outFD = open(outputFile, O_WRONLY | O_CREAT | O_TRUNC,
/haiku/src/add-ons/kernel/drivers/audio/ac97/es1370/
H A Ddebug.c54 int fd = open(logfile, O_WRONLY | O_CREAT | O_TRUNC, 0666);
/haiku/src/add-ons/kernel/drivers/audio/echo/
H A Ddebug.c71 int fd = open(logfile, O_WRONLY | O_CREAT | O_TRUNC, 0666);
/haiku/src/add-ons/kernel/drivers/audio/emuxki/
H A Ddebug.c73 int fd = open(logfile, O_WRONLY | O_CREAT | O_TRUNC, 0666);
/haiku/src/add-ons/kernel/generic/mpu401/
H A Ddebug.c67 int fd = open(logfile, O_WRONLY | O_CREAT | O_TRUNC, 0666);
/haiku/src/add-ons/kernel/file_systems/bindfs/
H A DDebugSupport.cpp47 out = open(DEBUG_PRINT_FILE, O_RDWR | O_CREAT | O_TRUNC);
/haiku/src/add-ons/kernel/file_systems/netfs/shared/
H A DDebugSupport.cpp47 out = open(DEBUG_PRINT_FILE, O_RDWR | O_CREAT | O_TRUNC);
/haiku/src/apps/icon-o-matic/generic/support/
H A DDebug.cpp46 out = open(DEBUG_PRINT_FILE, O_RDWR | O_CREAT | O_TRUNC);
/haiku/src/servers/package/
H A DDebugSupport.cpp47 out = open(DEBUG_PRINT_FILE, O_RDWR | O_CREAT | O_TRUNC);
/haiku/src/add-ons/kernel/file_systems/userlandfs/shared/
H A DDebug.cpp43 out = open(DEBUG_PRINT_FILE, O_RDWR | O_CREAT | O_TRUNC);
/haiku/src/add-ons/kernel/drivers/audio/ac97/auvia/
H A Ddebug.c74 int fd = open(logfile, O_WRONLY | O_CREAT | O_TRUNC, 0666);
/haiku/src/add-ons/kernel/drivers/audio/ac97/auich/
H A Ddebug.c74 int fd = open(logfile, O_WRONLY | O_CREAT | O_TRUNC, 0666);
/haiku/src/tests/system/libroot/os/
H A Dfs_attr_test.cpp60 int fd = open(kTestFileName, O_CREAT | O_TRUNC | O_WRONLY);
/haiku/src/tools/
H A Ddata_to_source.cpp53 int outFD = open(outFileName, O_WRONLY | O_CREAT | O_TRUNC,
/haiku/src/add-ons/kernel/file_systems/shared/
H A DDebugSupport.cpp49 out = open(DEBUG_PRINT_FILE, O_RDWR | O_CREAT | O_TRUNC);
/haiku/src/add-ons/kernel/drivers/ports/usb_serial/
H A DTracing.cpp69 int flags = O_WRONLY | O_CREAT | (!gLogAppend ? O_TRUNC : 0);
/haiku/src/add-ons/kernel/drivers/ports/pc_serial/
H A DTracing.cpp66 int flags = O_WRONLY | O_CREAT | (!gLogAppend ? O_TRUNC : 0);
/haiku/src/add-ons/kernel/drivers/audio/ac97/sis7018/
H A DSettings.cpp30 int flags = O_WRONLY | O_CREAT | ((gTruncateLogFile) ? O_TRUNC : 0);
/haiku/src/add-ons/kernel/drivers/audio/usb/
H A DSettings.cpp33 int flags = O_WRONLY | O_CREAT | ((gTruncateLogFile) ? O_TRUNC : 0);

Completed in 346 milliseconds

1234