Searched refs:ftruncate (Results 1 - 25 of 85) sorted by relevance

1234

/illumos-gate/usr/src/cmd/dtrace/test/tst/common/funcs/
H A Dtst.ftruncate.ksh39 ftruncate(); function
56 tmpfile=/tmp/tst.ftruncate.$$
/illumos-gate/usr/src/lib/libc/port/gen/
H A Dtruncate.c33 * ftruncate() and truncate() set a file to a specified
45 #define ftruncate ftruncate64 macro
57 ftruncate(int fildes, off_t len) function
85 if ((fd = open(path, O_WRONLY)) == -1 || ftruncate(fd, len) == -1)
/illumos-gate/usr/src/lib/libbc/libc/sys/4.2/
H A Dtruncate.c51 if (ftruncate(fd, length) == -1) {
/illumos-gate/usr/src/lib/libbc/libc/sys/common/
H A Dftruncate.c49 ftruncate(int fd, off_t length) function
/illumos-gate/usr/src/lib/libbc/libc/sys/sys5/
H A Dtruncate.c48 if (ftruncate(fd, length) == -1) {
/illumos-gate/usr/src/cmd/sgs/libelf/common/
H A Doutput.c56 * via ftruncate(), thus this may fail with ENOSUP. In this case the
59 if ((!*pflag) && (ftruncate(fd, (off_t)sz) == 0) &&
/illumos-gate/usr/src/common/ficl/ficlplatform/
H A Dunix.c56 return (ftruncate(fileno(ff->f), size));
/illumos-gate/usr/src/lib/libast/common/sfio/
H A Dsfresize.c71 if(ftruncate(f->file, (sfoff_t)size) < 0)
/illumos-gate/usr/src/test/smbclient-tests/cmd/close_wr/
H A Dclose_wr.c63 if (ftruncate(fid, filesize) == -1) {
/illumos-gate/usr/src/test/smbclient-tests/cmd/no_close/
H A Dno_close.c60 if (ftruncate(fid, filesize) == -1) {
/illumos-gate/usr/src/lib/libast/common/include/
H A Dast_std.h275 #if !defined(ftruncate) && _lib_ftruncate64
276 #define ftruncate ftruncate64 macro
/illumos-gate/usr/src/head/
H A Dunistd.h200 #pragma redefine_extname ftruncate ftruncate64
208 #define ftruncate ftruncate64 macro
221 #pragma redefine_extname ftruncate64 ftruncate
229 #define ftruncate64 ftruncate
329 extern int ftruncate(int, off_t);
/illumos-gate/usr/src/test/libc-tests/tests/random/
H A Dinz_inval.c86 ret = ftruncate(fd, mapsz);
/illumos-gate/usr/src/test/smbclient-tests/cmd/mkfile_mmap/
H A Dmkfile_mmap.c118 if (ftruncate(fid, filesize) == -1) {
/illumos-gate/usr/src/cmd/fs.d/nfs/lib/
H A Dnfslogtab.c268 if (ftruncate(fileno(fd), 0) < 0) {
351 if (ftruncate(fileno(fd), 0) < 0) {
/illumos-gate/usr/src/lib/libast/amd64/include/ast/
H A Dast_std.h289 #if !defined(ftruncate) && _lib_ftruncate64
290 #define ftruncate ftruncate64 macro
/illumos-gate/usr/src/lib/libast/i386/include/ast/
H A Dast_std.h289 #if !defined(ftruncate) && _lib_ftruncate64
290 #define ftruncate ftruncate64 macro
/illumos-gate/usr/src/lib/libast/sparc/include/ast/
H A Dast_std.h289 #if !defined(ftruncate) && _lib_ftruncate64
290 #define ftruncate ftruncate64 macro
/illumos-gate/usr/src/lib/libast/sparcv9/include/ast/
H A Dast_std.h289 #if !defined(ftruncate) && _lib_ftruncate64
290 #define ftruncate ftruncate64 macro
/illumos-gate/usr/src/cmd/sa/
H A Dsadc.c256 if (ftruncate(fp, 0) == -1)
275 ftruncate(fp, flength), fail(1, "write failed");
280 ftruncate(fp, flength), fail(1, "write failed");
298 ftruncate(fp, flength), fail(1, "write failed");
303 ftruncate(fp, flength), fail(1, "write failed");
/illumos-gate/usr/src/lib/libbc/libc/gen/common/
H A Dexportent.c167 if (ftruncate(fileno(f), 0L) < 0) {
/illumos-gate/usr/src/cmd/oplhpd/
H A Doplhpd.c183 (void) ftruncate(pid_fd, 0);
/illumos-gate/usr/src/cmd/acpihpd/
H A Dacpihpd.c177 (void) ftruncate(s_pid_fd, 0);
/illumos-gate/usr/src/lib/krb5/plugins/kdb/db2/libdb2/recno/
H A Drec_close.c185 if (ftruncate(t->bt_rfd, off))
/illumos-gate/usr/src/test/smbclient-tests/cmd/cp_mmap/
H A Dcp_mmap.c134 if (ftruncate(des_fid, filesize) == -1) {

Completed in 385 milliseconds

1234