Subject: Re: Problem with ftruncate() ...
To: None <cagney@highland.oz.au>
From: Chris G. Demetriou <cgd@postgres.Berkeley.EDU>
List: current-users
Date: 05/18/1994 02:30:29
> 	ftruncate(char *path, off_t length)

The "char *" bit is wrong, but it doesn't have anything to do with the
reason your program doesn't work.

your program doesn't work because you need to include the prototype
for ftruncate() for it to work properly.  that prototype is defined in
<unistd.h>.


cgd

------------------------------------------------------------------------------