time(0L) - history of a misconception (was Re: SCO password generator)
Boyd Roberts
boyd at prl.dec.com
Thu May 23 19:21:34 AEST 1991
In article <13455 at dog.ee.lbl.gov>, torek at elf.ee.lbl.gov (Chris Torek) writes:
>
> Perhaps it dates back to Version 6 Unix, ...
I think Chris is right. If you look at any routine that requires a long
(in the `standard' C library) it'll be passed by a pointer.
One Computing Centre once changed ctime(3) to take a long instead of a long *.
Boy, were they sorry. Broken code from here to backups...
Boyd Roberts boyd at prl.dec.com
``When the going gets wierd, the weird turn pro...''
More information about the Comp.lang.c
mailing list