Searched refs:O_RDONLY (Results 1 - 25 of 219) sorted by relevance
123456789
/haiku/src/tools/unflatten/ |
H A D | unflatten.cpp | 18 if (B_OK != file.SetTo(argv[1], O_RDONLY)) {
|
/haiku/src/servers/power/ |
H A D | lid_monitor.cpp | 21 int fd = open("/dev/power/acpi_lid/0", O_RDONLY);
|
H A D | power_button_monitor.cpp | 39 int fd = open(path.String(), O_RDONLY);
|
/haiku/src/tests/add-ons/kernel/drivers/random/ |
H A D | random_test.cpp | 16 int fd = open(kRandomDevice, O_RDONLY);
|
/haiku/headers/os/storage/ |
H A D | StorageDefs.h | 23 #define B_READ_ONLY O_RDONLY /* read only */
|
/haiku/src/add-ons/kernel/file_systems/btrfs/ |
H A D | Utility.h | 53 access modes, e.g. since O_RDONLY requires read access to the 60 if (openMode == O_RDONLY)
|
/haiku/src/tests/system/libroot/posix/ |
H A D | fifo_test.cpp | 18 int rfd = open(filename, O_RDONLY | O_NONBLOCK);
|
H A D | chmod.cpp | 35 int fd = open(argv[1], O_RDONLY);
|
H A D | termios.cpp | 28 int fd = open(argv[1], O_RDONLY);
|
H A D | truncate.cpp | 52 int fd = open(argv[1], O_RDONLY);
|
/haiku/src/system/libroot/os/ |
H A D | stack_protector.cpp | 27 int fd = open("/dev/random", O_RDONLY, 0);
|
/haiku/src/tests/add-ons/kernel/file_systems/cdda/ |
H A D | cdda_text.cpp | 44 int fd = open(argv[1], O_RDONLY);
|
/haiku/headers/private/file_systems/ |
H A D | DeviceOpener.h | 41 { return (mode & O_RWMASK) == O_RDONLY; }
|
H A D | fs_ops_support.h | 17 /*! Converts a given open mode (e.g. O_RDONLY) into access modes (e.g. R_OK). 23 if (openMode == O_RDONLY)
|
/haiku/src/add-ons/kernel/file_systems/shared/ |
H A D | DeviceOpener.cpp | 49 return Open(device, O_RDONLY | O_NOCACHE); 61 return Open(device, O_RDONLY | O_NOCACHE);
|
/haiku/src/bin/ |
H A D | mvattr.cpp | 45 int fromFileFD = open(fromFile, O_RDONLY); 54 toFileFD = open(toFile, O_RDONLY); 76 O_RDONLY | O_EXCL);
|
H A D | fortune.c | 63 fd = open(name, O_RDONLY); 98 fd = open(file, O_RDONLY, 0);
|
/haiku/src/system/boot/loader/ |
H A D | load_driver_settings.cpp | 28 int fd = open_from(directory, name, O_RDONLY); 89 int fd = open_from(volume, "home/config/settings/kernel/drivers", O_RDONLY); 98 if (settings->Open(&cookie, O_RDONLY) == B_OK) {
|
H A D | loader.cpp | 75 int fd = open_maybe_packaged(volume, sKernelPaths[i][0], O_RDONLY); 149 int fd = open_maybe_packaged(volume, path, O_RDONLY); 158 if (modules->Open(&cookie, O_RDONLY) == B_OK) {
|
/haiku/src/system/libroot/posix/glibc/libio/ |
H A D | iofdopen.c | 95 #define O_ACCMODE (O_RDONLY|O_WRONLY|O_RDWR) 100 if (((fd_flags & O_ACCMODE) == O_RDONLY && !(read_write & _IO_NO_WRITES))
|
/haiku/src/kits/support/ |
H A D | Uuid.cpp | 122 int fd = open("/dev/urandom", O_RDONLY); 124 fd = open("/dev/random", O_RDONLY);
|
/haiku/src/system/kernel/util/ |
H A D | hostname.cpp | 72 int file = open(path, O_RDONLY);
|
/haiku/src/system/libroot/posix/unistd/ |
H A D | hostname.cpp | 73 int file = open(path, O_RDONLY);
|
/haiku/src/tools/anyboot/ |
H A D | anyboot.cpp | 234 int isoFileHandle = open(isoFile, O_RDONLY); 244 biosFileHandle = open(biosFile, O_RDONLY); 251 efiFileHandle = open(efiFile, O_RDONLY); 259 int imageFileHandle = open(imageFile, O_RDONLY);
|
/haiku/src/tests/apps/haikudepot/ |
H A D | TarArchiveServiceTest.cpp | 41 BFile *tarFile = new BFile(tarPath, O_RDONLY);
|
Completed in 252 milliseconds
123456789