/dragonfly/contrib/binutils-2.27/gold/ |
H A D | ftruncate.c | 31 extern int ftruncate (int, off_t); 36 ftruncate (int fd, off_t length) in ftruncate() function 50 ftruncate (int fd, off_t length) in ftruncate() function 93 ftruncate (int fd, off_t length) in ftruncate() function 103 ftruncate (int fd, off_t length) in ftruncate() function
|
H A D | system.h | 156 extern "C" int ftruncate(int, off_t);
|
/dragonfly/contrib/dhcpcd/compat/ |
H A D | pidfile.c | 86 else if (ftruncate(pidfile_fd, 0) == -1) in pidfile_clean() 258 if (ftruncate(pidfile_fd, 0) == -1 || in pidfile_lock()
|
/dragonfly/gnu/usr.bin/grep/libgreputils/ |
H A D | unistd.h | 1123 # undef ftruncate 1124 # define ftruncate rpl_ftruncate 1126 _GL_FUNCDECL_RPL (ftruncate, int, (int fd, off_t length)); 1127 _GL_CXXALIAS_RPL (ftruncate, int, (int fd, off_t length)); 1130 _GL_FUNCDECL_SYS (ftruncate, int, (int fd, off_t length)); 1132 _GL_CXXALIAS_SYS (ftruncate, int, (int fd, off_t length)); 1134 _GL_CXXALIASWARN (ftruncate); 1136 # undef ftruncate 1138 _GL_WARN_ON_USE (ftruncate, "ftruncate is unportable - "
|
/dragonfly/test/stress/fsx/ |
H A D | fsx.c | 437 ftruncate(fd, (off_t)0); in check_trunc_hack() 438 ftruncate(fd, (off_t)100000); in check_trunc_hack() 444 ftruncate(fd, (off_t)0); in check_trunc_hack() 698 if (ftruncate(fd, file_size) == -1) { in domapwrite() 757 if (ftruncate(fd, (off_t)size) == -1) { in dotruncate() 783 if (lite ? 0 : ftruncate(fd, file_size) == -1) { in writefileimage()
|
/dragonfly/lib/libc/sys/ |
H A D | ftruncate.c | 44 ftruncate(int fd, off_t length) in ftruncate() function
|
H A D | Makefile.inc | 23 SRCS+= ftruncate.c lseek.c mmap.c truncate.c 231 MLINKS+=truncate.2 ftruncate.2
|
/dragonfly/test/stress/fsstress/ |
H A D | global.h | 78 #define ftruncate64 ftruncate
|
/dragonfly/test/stress/stress2/misc/ |
H A D | truncate.sh | 75 if (ftruncate(fd[j], 0) == -1)
|
H A D | truncate2.sh | 82 if (ftruncate(fd[j], len) == -1)
|
H A D | mmap4.sh | 100 if (ftruncate(fd, len) == -1)
|
H A D | mmap3.sh | 100 if (ftruncate(fd, len) == -1)
|
H A D | mmap2.sh | 86 if (ftruncate(fd, len) == -1)
|
H A D | nbufkv.sh | 126 if (ftruncate(fd, len) == -1)
|
/dragonfly/lib/libc/x86_64/sys/ |
H A D | Makefile.inc | 10 NOASM= exit.o ftruncate.o getlogin.o \
|
/dragonfly/lib/libutil/ |
H A D | flopen.c | 94 if (trunc && ftruncate(fd, 0) != 0) { in flopen()
|
/dragonfly/contrib/gdb-7/readline/ |
H A D | histfile.c | 410 ftruncate (file, chars_read - (bp - buffer)); 482 if (ftruncate (file, buffer_size+cursize) == -1)
|
/dragonfly/crypto/libressl/tls/ |
H A D | tls_client.c | 235 if (ftruncate(sfd, 0) == -1) { in tls_client_write_session() 252 if (ftruncate(sfd, len) == -1) { in tls_client_write_session()
|
/dragonfly/usr.bin/mail/ |
H A D | def.h | 274 ftruncate(fileno(stream), (off_t)ftell(stream)); \
|
/dragonfly/sbin/svc/ |
H A D | subs.c | 127 ftruncate(*pfdp, 0); in setup_pid_and_socket()
|
/dragonfly/usr.bin/truncate/ |
H A D | truncate.c | 132 if (ftruncate(fd, tsize) == -1) { in main()
|
/dragonfly/usr.sbin/pw/ |
H A D | fileupd.c | 187 ftruncate(infd, ftell(infp)); in fileupdate()
|
/dragonfly/test/lockf/ |
H A D | lockf.c | 146 if (ftruncate(fd, size) < 0) in main()
|
/dragonfly/contrib/binutils-2.34/gold/ |
H A D | system.h | 162 extern "C" int ftruncate(int, off_t);
|
/dragonfly/bin/dd/ |
H A D | dd.c | 203 if (ftruncate(out.fd, out.offset * out.dbsz) == -1) in setup() 475 if (ftruncate(out.fd, out.seek_offset) == -1) in dd_close()
|