Home
last modified time | relevance | path

Searched refs:O_WRONLY (Results 1 – 25 of 113) sorted by relevance

12345

/haiku/src/tests/add-ons/kernel/file_systems/bfs/rename/
H A Drename.c19 file = open("__file", O_CREAT | O_TRUNC | O_WRONLY); in main()
31 file = open("__directory/1", O_CREAT | O_WRONLY); in main()
/haiku/src/add-ons/kernel/drivers/midi/mpu401/
H A Ddebug.c67 int fd = open(logfile, O_WRONLY | O_CREAT | O_TRUNC, 0666); in log_create()
88 fd = open(logfile, O_WRONLY | O_APPEND); in log_printf()
/haiku/src/add-ons/kernel/drivers/audio/ac97/auvia/
H A Ddebug.c74 int fd = open(logfile, O_WRONLY | O_CREAT | O_TRUNC, 0666); in log_create()
97 fd = open(logfile, O_WRONLY | O_APPEND); in log_printf()
/haiku/src/add-ons/kernel/drivers/audio/emuxki/
H A Ddebug.c73 int fd = open(logfile, O_WRONLY | O_CREAT | O_TRUNC, 0666); in log_create()
96 fd = open(logfile, O_WRONLY | O_APPEND); in log_printf()
/haiku/src/add-ons/kernel/drivers/audio/ac97/es1370/
H A Ddebug.c54 int fd = open(logfile, O_WRONLY | O_CREAT | O_TRUNC, 0666); in log_create()
77 fd = open(logfile, O_WRONLY | O_APPEND); in log_printf()
/haiku/src/add-ons/kernel/drivers/audio/ac97/auich/
H A Ddebug.c74 int fd = open(logfile, O_WRONLY | O_CREAT | O_TRUNC, 0666); in log_create()
97 fd = open(logfile, O_WRONLY | O_APPEND); in log_printf()
/haiku/src/add-ons/kernel/drivers/audio/echo/
H A Ddebug.c71 int fd = open(logfile, O_WRONLY | O_CREAT | O_TRUNC, 0666); in log_create()
94 fd = open(logfile, O_WRONLY | O_APPEND); in log_printf()
/haiku/src/add-ons/kernel/drivers/video/usb_vision/
H A Dtracing.c56 int flags = O_WRONLY | O_CREAT | ((!b_log_append) ? O_TRUNC : 0); in create_log()
91 fd = open(private_log_path, O_WRONLY | O_APPEND); in usbvision_trace()
/haiku/src/add-ons/kernel/drivers/ports/pc_serial/
H A DTracing.cpp66 int flags = O_WRONLY | O_CREAT | (!gLogAppend ? O_TRUNC : 0); in create_log_file()
93 int fd = open(sLogFilePath, O_WRONLY | O_APPEND); in pc_serial_trace()
/haiku/src/add-ons/kernel/drivers/audio/ac97/sis7018/
H A DSettings.cpp30 int flags = O_WRONLY | O_CREAT | ((gTruncateLogFile) ? O_TRUNC : 0); in create_log()
110 int fd = open(gLogFilePath, O_WRONLY | O_APPEND); in SiS7018_trace()
/haiku/src/add-ons/kernel/drivers/ports/usb_serial/
H A DTracing.cpp69 int flags = O_WRONLY | O_CREAT | (!gLogAppend ? O_TRUNC : 0); in create_log_file()
96 int fd = open(sLogFilePath, O_WRONLY | O_APPEND); in usb_serial_trace()
/haiku/src/add-ons/kernel/drivers/audio/usb/
H A DSettings.cpp33 int flags = O_WRONLY | O_CREAT | ((gTruncateLogFile) ? O_TRUNC : 0); in create_log()
111 int fd = open(gLogFilePath, O_WRONLY | O_APPEND); in usb_audio_trace()
/haiku/src/add-ons/kernel/drivers/network/ether/usb_asix/
H A DSettings.cpp37 int flags = O_WRONLY | O_CREAT | ((gTruncateLogFile) ? O_TRUNC : 0); in create_log()
119 int fd = open(gLogFilePath, O_WRONLY | O_APPEND); in usb_asix_trace()
/haiku/src/add-ons/kernel/drivers/network/ether/usb_davicom/
H A DSettings.cpp38 int flags = O_WRONLY | O_CREAT | ((gTruncateLogFile) ? O_TRUNC : 0); in create_log()
126 int fd = open(gLogFilePath, O_WRONLY | O_APPEND); in usb_davicom_trace()
/haiku/src/system/libroot/posix/glibc/libio/
H A Diofdopen.c95 #define O_ACCMODE (O_RDONLY|O_WRONLY|O_RDWR) in _IO_new_fdopen()
101 || ((fd_flags & O_ACCMODE) == O_WRONLY && !(read_write & _IO_NO_READS))) in _IO_new_fdopen()
/haiku/headers/os/storage/
H A DStorageDefs.h24 #define B_WRITE_ONLY O_WRONLY /* write only */
/haiku/src/tests/system/libroot/posix/
H A Dposix_spawn_redir_test.c16 O_WRONLY | O_CREAT | O_TRUNC, 0644); in main()
/haiku/src/tests/servers/input/comm/
H A Darea.c16 int fd = open ("/tmp/input_area.bin", O_WRONLY | O_CREAT | O_TRUNC, 0644); in main()
/haiku/src/bin/
H A Drescan.c38 fd_dev = open("/dev", O_WRONLY); in main()
/haiku/src/add-ons/media/media-add-ons/finepix_webcam/FinePixUSBKitTest/
H A DFinePixTest.cpp26 int fd = open(fname, O_WRONLY | O_CREAT,0644); in main()
/haiku/src/add-ons/kernel/file_systems/btrfs/
H A DUtility.h62 if (openMode == O_WRONLY) in open_mode_to_access()
/haiku/headers/private/file_systems/
H A Dfs_ops_support.h25 if (openMode == O_WRONLY) in open_mode_to_access()
/haiku/src/bin/debug/time_stats/
H A Dtime_stats.cpp100 outFD = open(outputFile, O_WRONLY | O_CREAT | O_TRUNC, in main()
/haiku/headers/posix/
H A Dfcntl.h35 #define O_WRONLY 0x0001 /* write only */ macro
/haiku/src/system/kernel/util/
H A Dhostname.cpp44 int file = open(path, O_WRONLY | O_CREAT, 0644); in sethostname()

12345