Home
last modified time | relevance | path

Searched refs:ftruncate (Results 1 – 25 of 102) sorted by relevance

12345

/titanic_44/usr/src/lib/libc/port/gen/
H A Dtruncate.c45 #define ftruncate ftruncate64 macro
57 ftruncate(int fildes, off_t len) in ftruncate() function
85 if ((fd = open(path, O_WRONLY)) == -1 || ftruncate(fd, len) == -1) in truncate()
/titanic_44/usr/src/cmd/dtrace/test/tst/common/funcs/
H A Dtst.ftruncate.ksh39 ftruncate();
56 tmpfile=/tmp/tst.ftruncate.$$
/titanic_44/usr/src/head/
H A Dunistd.h200 #pragma redefine_extname ftruncate ftruncate64
208 #define ftruncate ftruncate64
221 #pragma redefine_extname ftruncate64 ftruncate
229 #define ftruncate64 ftruncate
329 extern int ftruncate(int, off_t);
/titanic_44/usr/src/lib/libbc/libc/sys/sys5/
H A Dtruncate.c48 if (ftruncate(fd, length) == -1) { in truncate()
/titanic_44/usr/src/lib/libbc/libc/sys/4.2/
H A Dtruncate.c51 if (ftruncate(fd, length) == -1) { in truncate()
/titanic_44/usr/src/lib/libast/common/include/
H A Dast_std.h275 #if !defined(ftruncate) && _lib_ftruncate64
276 #define ftruncate ftruncate64 macro
/titanic_44/usr/src/lib/libbc/libc/sys/common/
H A Dftruncate.c49 ftruncate(int fd, off_t length) in ftruncate() function
/titanic_44/usr/src/cmd/ssh/libopenbsd-compat/common/
H A Dxmmap.c54 ftruncate(tmpfd, size); in xmmap()
H A Dbsd-misc.c114 ret = ftruncate(fd, length); in truncate()
/titanic_44/usr/src/cmd/sa/
H A Dsadc.c256 if (ftruncate(fp, 0) == -1) in main()
275 ftruncate(fp, flength), fail(1, "write failed"); in main()
280 ftruncate(fp, flength), fail(1, "write failed"); in main()
298 ftruncate(fp, flength), fail(1, "write failed"); in main()
303 ftruncate(fp, flength), fail(1, "write failed"); in main()
/titanic_44/usr/src/lib/libast/amd64/include/ast/
H A Dast_std.h289 #if !defined(ftruncate) && _lib_ftruncate64
290 #define ftruncate ftruncate64 macro
/titanic_44/usr/src/lib/libast/i386/include/ast/
H A Dast_std.h289 #if !defined(ftruncate) && _lib_ftruncate64
290 #define ftruncate ftruncate64 macro
/titanic_44/usr/src/lib/libast/sparcv9/include/ast/
H A Dast_std.h289 #if !defined(ftruncate) && _lib_ftruncate64
290 #define ftruncate ftruncate64 macro
/titanic_44/usr/src/lib/libast/sparc/include/ast/
H A Dast_std.h289 #if !defined(ftruncate) && _lib_ftruncate64
290 #define ftruncate ftruncate64 macro
/titanic_44/usr/src/cmd/sgs/libelf/common/
H A Doutput.c59 if ((!*pflag) && (ftruncate(fd, (off_t)sz) == 0) && in _elf_outmap()
/titanic_44/usr/src/cmd/dtrace/test/cmd/jdtrace/
H A Dexception.lst73 # freopen() and ftruncate() not supported by Java DTrace API
76 common/funcs/tst.ftruncate.ksh
/titanic_44/usr/src/cmd/fs.d/nfs/lib/
H A Dnfslogtab.c268 if (ftruncate(fileno(fd), 0) < 0) { in logtab_rement()
351 if (ftruncate(fileno(fd), 0) < 0) { in logtab_deactivate()
/titanic_44/usr/src/lib/libast/common/sfio/
H A Dsfresize.c71 if(ftruncate(f->file, (sfoff_t)size) < 0)
/titanic_44/usr/src/test/libc-tests/tests/random/
H A Dinz_inval.c86 ret = ftruncate(fd, mapsz); in main()
/titanic_44/usr/src/lib/krb5/plugins/kdb/db2/libdb2/recno/
H A Drec_close.c185 if (ftruncate(t->bt_rfd, off))
/titanic_44/usr/src/cmd/oplhpd/
H A Doplhpd.c183 (void) ftruncate(pid_fd, 0); in init_daemon()
/titanic_44/usr/src/cmd/sgs/link_audit/common/
H A Dbindings.c148 if (ftruncate(fd, bhp->bh_size + BLKSIZE) == -1) { in grow_buffer()
248 if (ftruncate(fd, init_size) == -1) { in la_version()
/titanic_44/usr/src/cmd/acpihpd/
H A Dacpihpd.c177 (void) ftruncate(s_pid_fd, 0); in daemon_init()
/titanic_44/usr/src/ucbcmd/sbcp/
H A Dsyscalls.list154 ftruncate SIMPLE /* 130 = 2, ftruncate */
/titanic_44/usr/src/cmd/sgs/ldprof/common/
H A Dldprof.msg38 @ MSG_SYS_FTRUNC "%s: ftruncate failed: %s: profiling disabled\n"

12345