/haiku-fatelf/src/bin/coreutils/lib/ |
H A D | lseek.c | 4 /* An lseek() function that detects pipes. 35 #undef lseek macro 41 /* mingw lseek mistakenly succeeds on pipes, sockets, and terminals. */ 54 /* BeOS lseek mistakenly succeeds on pipes... */ 64 return lseek (fd, offset, whence);
|
H A D | ftello.c | 22 /* Get lseek. */ 36 if (lseek (fileno (fp), 0, SEEK_CUR) == -1)
|
H A D | ftruncate.c | 40 if (lseek (fd, (length - 1), SEEK_SET) < 0)
|
/haiku-fatelf/src/bin/findutils/gnulib/lib/ |
H A D | lseek.c | 1 /* An lseek() function that detects pipes. 32 #undef lseek macro 38 /* mingw lseek mistakenly succeeds on pipes, sockets, and terminals. */ 51 /* BeOS lseek mistakenly succeeds on pipes... */ 61 return lseek (fd, offset, whence);
|
H A D | ftello.c | 22 /* Get lseek. */ 36 if (lseek (fileno (fp), 0, SEEK_CUR) == -1)
|
H A D | unistd.h | 263 <http://www.opengroup.org/susv3xsh/lseek.html>. */ 264 # define lseek rpl_lseek 265 extern off_t lseek (int fd, off_t offset, int whence); 268 # undef lseek macro 269 # define lseek(f,o,w) \ macro 270 (GL_LINK_WARNING ("lseek does not fail with ESPIPE on pipes on some " \ 271 "systems - use gnulib module lseek for portability"), \ 272 lseek (f, o, w))
|
H A D | unistd.in.h | 262 <http://www.opengroup.org/susv3xsh/lseek.html>. */ 263 # define lseek rpl_lseek macro 264 extern off_t lseek (int fd, off_t offset, int whence); 267 # undef lseek macro 268 # define lseek(f,o,w) \ macro 269 (GL_LINK_WARNING ("lseek does not fail with ESPIPE on pipes on some " \ 270 "systems - use gnulib module lseek for portability"), \ 271 lseek (f, o, w))
|
H A D | fflush.c | 74 avoid losing data, the lseek is also necessary. */ 96 pos = lseek (fileno (stream), pos, SEEK_SET); 99 /* After a successful lseek, update the file descriptor's position cache
|
H A D | fseeko.c | 23 /* Get off_t and lseek. */ 37 if (lseek (fileno (fp), 0, SEEK_CUR) == -1) 101 off_t pos = lseek (fileno (fp), offset, whence);
|
/haiku-fatelf/src/bin/network/wget/lib/ |
H A D | lseek.c | 1 /* An lseek() function that detects pipes. 32 #undef lseek macro 38 /* mingw lseek mistakenly succeeds on pipes, sockets, and terminals. */ 51 /* BeOS lseek mistakenly succeeds on pipes... */ 61 return lseek (fd, offset, whence);
|
H A D | fseeko.c | 23 /* Get off_t and lseek. */ 39 if (lseek (fileno (fp), 0, SEEK_CUR) == -1) 99 lseek (fileno (fp),
|
/haiku-fatelf/src/system/libroot/posix/unistd/ |
H A D | lseek.c | 15 lseek(int fd, off_t pos, int whence) function
|
/haiku-fatelf/src/build/libroot/ |
H A D | fs_freebsd.cpp | 38 off_t cur = lseek(fd, 0, SEEK_CUR); 40 perror("lseek 1"); 53 off_t sdCur = lseek(fd, -(cur % sectorSize), SEEK_CUR); 55 perror("lseek oneblock"); 63 if (lseek(fd, -sectorSize + (cur % sectorSize) + nbytes, SEEK_CUR) 79 if (lseek(fd, -(sectorSize - seekDiff), SEEK_CUR) == -1) 80 perror("lseek seekDiff"); 82 off_t sdCur = lseek(fd,0,SEEK_CUR); 103 off_t sdCur = lseek(fd, 0, SEEK_CUR); 105 perror("lseek las [all...] |
/haiku-fatelf/src/system/libroot/posix/glibc/include/ |
H A D | unistd.h | 20 lseek(fd, pos, whence)
|
/haiku-fatelf/src/system/libroot/posix/stdio/ |
H A D | stdio.c | 74 (void) lseek(fp->_file, (off_t)0, SEEK_END); 89 ret = lseek(fp->_file, (off_t)offset, whence);
|
/haiku-fatelf/src/tests/system/benchmarks/libMicro/ |
H A D | lseek.c | 32 * lseek 67 "notes: measures lseek()\n", 110 if (lseek(ts->ts_fd, 0L, SEEK_SET) != 0) { 113 if (lseek(ts->ts_fd, opts, SEEK_SET) != opts) {
|
H A D | Makefile.benchmarks | 66 lseek \
|
/haiku-fatelf/src/tools/fs_shell/ |
H A D | partition_support.cpp | 105 lseek(fd, restriction->startOffset, SEEK_SET); 129 pos = lseek(fd, 0, SEEK_CUR); 183 return lseek(fd, offset, to_platform_seek_mode(whence)); 190 pos = lseek(fd, 0, SEEK_CUR); 210 pos = lseek(fd, pos, SEEK_SET);
|
H A D | uio.cpp | 58 return readv_pos(fd, lseek(fd, 0, SEEK_CUR), systemVecs, count); 94 return writev_pos(fd, lseek(fd, 0, SEEK_CUR), systemVecs, count);
|
/haiku-fatelf/src/libs/util/ |
H A D | login.c | 67 (void)lseek(fd, (off_t)(tty * sizeof(struct utmp)), L_SET);
|
H A D | logout.c | 72 (void)lseek(fd, -(off_t)sizeof(UTMP), L_INCR);
|
/haiku-fatelf/src/tools/fixup_amiga_boot_checksum/ |
H A D | fixup_amiga_boot_checksum.c | 41 lseek(fd, 0LL, SEEK_SET);
|
/haiku-fatelf/src/kits/storage/ |
H A D | FileDescriptorIO.cpp | 65 off_t result = lseek(fFD, position, seekMode); 73 off_t result = lseek(fFD, 0, SEEK_CUR);
|
/haiku-fatelf/src/libs/compat/freebsd_network/ |
H A D | firmware.c | 77 firmwareFileSize = lseek(fileDescriptor, 0, SEEK_END); 81 lseek(fileDescriptor, 0, SEEK_SET);
|
/haiku-fatelf/src/tests/kits/media/soundplayer/ |
H A D | SoundPlayerTest.cpp | 33 lseek(fd, 44, SEEK_SET); // skip wav header 74 lseek(fd, 10000000, SEEK_CUR); // skip 10 MB
|