Searched refs:O_WRONLY (Results 1 - 25 of 111) 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);
31 file = open("__directory/1", O_CREAT | O_WRONLY);
/haiku/src/add-ons/media/media-add-ons/finepix_webcam/FinePixUSBKitTest/
H A DFinePixTest.cpp26 int fd = open(fname, O_WRONLY | O_CREAT,0644);
/haiku/src/bin/
H A Drescan.c38 fd_dev = open("/dev", O_WRONLY);
/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.h24 #define B_WRITE_ONLY O_WRONLY /* write only */
/haiku/src/add-ons/kernel/file_systems/btrfs/
H A DUtility.h62 if (openMode == O_WRONLY)
/haiku/src/tests/system/libroot/posix/
H A Dposix_spawn_redir_test.c16 O_WRONLY | O_CREAT | O_TRUNC, 0644);
/haiku/src/add-ons/kernel/drivers/audio/ac97/es1370/
H A Ddebug.c54 int fd = open(logfile, O_WRONLY | O_CREAT | O_TRUNC, 0666);
77 fd = open(logfile, O_WRONLY | O_APPEND);
/haiku/src/add-ons/kernel/drivers/audio/echo/
H A Ddebug.c71 int fd = open(logfile, O_WRONLY | O_CREAT | O_TRUNC, 0666);
94 fd = open(logfile, O_WRONLY | O_APPEND);
/haiku/src/add-ons/kernel/drivers/audio/emuxki/
H A Ddebug.c73 int fd = open(logfile, O_WRONLY | O_CREAT | O_TRUNC, 0666);
96 fd = open(logfile, O_WRONLY | O_APPEND);
/haiku/src/add-ons/kernel/generic/mpu401/
H A Ddebug.c67 int fd = open(logfile, O_WRONLY | O_CREAT | O_TRUNC, 0666);
88 fd = open(logfile, O_WRONLY | O_APPEND);
/haiku/src/add-ons/kernel/drivers/audio/ac97/auvia/
H A Ddebug.c74 int fd = open(logfile, O_WRONLY | O_CREAT | O_TRUNC, 0666);
97 fd = open(logfile, O_WRONLY | O_APPEND);
/haiku/src/add-ons/kernel/drivers/audio/ac97/auich/
H A Ddebug.c74 int fd = open(logfile, O_WRONLY | O_CREAT | O_TRUNC, 0666);
97 fd = open(logfile, O_WRONLY | O_APPEND);
/haiku/headers/private/file_systems/
H A Dfs_ops_support.h25 if (openMode == O_WRONLY)
/haiku/src/add-ons/kernel/drivers/ports/usb_serial/
H A DTracing.cpp69 int flags = O_WRONLY | O_CREAT | (!gLogAppend ? O_TRUNC : 0);
96 int fd = open(sLogFilePath, O_WRONLY | O_APPEND);
/haiku/src/add-ons/kernel/drivers/ports/pc_serial/
H A DTracing.cpp66 int flags = O_WRONLY | O_CREAT | (!gLogAppend ? O_TRUNC : 0);
93 int fd = open(sLogFilePath, O_WRONLY | O_APPEND);
/haiku/src/add-ons/kernel/drivers/audio/ac97/sis7018/
H A DSettings.cpp30 int flags = O_WRONLY | O_CREAT | ((gTruncateLogFile) ? O_TRUNC : 0);
110 int fd = open(gLogFilePath, O_WRONLY | O_APPEND);
/haiku/src/add-ons/kernel/drivers/audio/usb/
H A DSettings.cpp33 int flags = O_WRONLY | O_CREAT | ((gTruncateLogFile) ? O_TRUNC : 0);
111 int fd = open(gLogFilePath, O_WRONLY | O_APPEND);
/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);
91 fd = open(private_log_path, O_WRONLY | O_APPEND);
/haiku/src/add-ons/kernel/drivers/network/ether/usb_asix/
H A DSettings.cpp37 int flags = O_WRONLY | O_CREAT | ((gTruncateLogFile) ? O_TRUNC : 0);
119 int fd = open(gLogFilePath, O_WRONLY | O_APPEND);
/haiku/src/system/libroot/posix/glibc/libio/
H A Diofdopen.c95 #define O_ACCMODE (O_RDONLY|O_WRONLY|O_RDWR)
101 || ((fd_flags & O_ACCMODE) == O_WRONLY && !(read_write & _IO_NO_READS)))
/haiku/src/add-ons/kernel/drivers/network/ether/usb_davicom/
H A DSettings.cpp38 int flags = O_WRONLY | O_CREAT | ((gTruncateLogFile) ? O_TRUNC : 0);
126 int fd = open(gLogFilePath, O_WRONLY | O_APPEND);
/haiku/src/bin/debug/time_stats/
H A Dtime_stats.cpp100 outFD = open(outputFile, O_WRONLY | O_CREAT | O_TRUNC,
/haiku/src/bin/network/ftpd/
H A Dlogwtmp.c84 if (fd < 0 && (fd = open(_PATH_WTMP, O_WRONLY|O_APPEND, 0)) < 0)
/haiku/src/libs/stdc++/legacy/
H A Dfstream.cc103 return O_WRONLY;

Completed in 229 milliseconds

12345