Subject: Re: ftruncate & truncate prototypes &
To: J.T. Conklin <jtc@cygnus.com>
From: None <tholo@toad.com>
List: tech-userlevel
Date: 04/18/1995 10:37:14
> >> I noticed that our <sys/types.h> header provides a prototype for
> >> lseek().  This helps programs that don't #include <unistd.h> get
> >> lseeks()'s prototype (since our off_t is now 64 bits). 
> >> 
> >> Should we do the same for truncate() and ftruncate()?
>
> > I'd rather see the prototype moved to <unistd.h>...  But I can see
> > why having it (and perhaps a couple more) in <sys/types.h> even
> > though they do not really belong there...
>
>[clip]
>
> On the other hand, I'm feeling much more crotchety this morning, and
> think maybe we should remove the lseek() prototype from <sys/types.h>
> to force old/broken software to be updated.

Hear, hear.

Thorsten
--
Thorsten Lockert        | postmaster@sigmasoft.com | Universe, n.:
1262 Golden Gate Avenue | hostmaster@sigmasoft.com |         The problem.
San Francisco, CA 94115 | tholo@sigmasoft.com      |