ftruncate for System Vr3.2

Guy Harris guy at auspex.auspex.com
Sat Sep 8 04:21:45 AEST 1990


>Note that this scores near zero in the portability department; I don't
>know what SVR4 does but would expect it to have the BSD ftruncate.

S5R4's "native" interface for doing that is the F_FREESP "fcntl" call. 
"truncate()" and "ftruncate()" exist in the standard library as wrappers
around that "fcntl()".



More information about the Comp.unix.sysv386 mailing list