Subject: Re: XFree86 3.1 imake problems
To: None <current-users@NetBSD.ORG>
From: Danny Thomas <D.Thomas@vthrc.uq.edu.au>
Date: 10/09/1994 10:23:37
"Gary D. Duzan" <email@example.com> wrote
> Actually, it turned out to be an ftruncate(something,0). Casting
> the 0 to (off_t) did the trick. Thanks.
nothing to do with NetBSD, but if there had been a prototype in scope....
of course my copy of ANSI X3.159-1989 is only five years old.
Danny Thomas (D.Thomas@vthrc.uq.edu.au)
PS and while the ANSI committee were concerned at codifying standard
practice, it is interesting to note in 'The Standard C Library':
"The headers hae several properties
* They are idempotent. You can include the same standard header more
than once. The effect is as if you had included the header exactly once.
* They are mutually independent. No standard header requires that another
standard header be first included for it to work properly. Nor does any
standard header include any other standard header."
which is how sys/* headers should have been declared from day one. Of
course at that time there was no idea of the persistence of poor design