PD ftruncate needed

Eric Jones edj at oakhill.UUCP
Sat Jun 17 05:35:55 AEST 1989


Greetings all,

I am currently porting a C program from a BSD to a System V based 
operating system. The program calls the BSD function "ftruncate",
which does not exist under System V.

Is there somebody out there who has a PD version that they could
send me or post? I would settle for pointing me in the right
direction and I'll write my own. All I need is the statement that
sticks the EOF mark in the file.

----------
Eric Jones     Motorola, Inc.  Austin, Texas     #include <disclaimer.std>
{The_Known_Universe}!cs.utexas.edu!oakhill!calypso!edj



More information about the Comp.lang.c mailing list