Todd C. Miller <todd.mil...@sudo.ws> wrote: > On Wed, 22 Apr 2020 21:21:28 -0600, "Todd C. Miller" wrote: > > > That's fine with me. Those interfaces appeared in SunOS 4.0 according > > to tzcode (which is where we got them from). They did *not* originate > > in NetBSD. I've verified that they were present in SunOS 4.1.3U1, > > though that code appears to be derived from tzcode too. > > Bit Savers has scans of the SunOS 4.0 print manuals which includes > a hard-copy of the man pages. Here you can see that timegm() and > timelocal() were present in SunOS in 1987: > > archive.org/details/bitsavers_sunsunos4.erenceManual198805_78292584/page/n823/mode/2up > > However, they are not present in SunOS 3.5. You can see the list > of library functions from intro(3) which includes gmtime(3) and > localtime(3) but not their inverses: > > https://archive.org/details/bitsavers_sunsunos3.eManualInsertionPagesforRelease3.5198711_7929431/page/n145/mode/2up > > So I think it is safe to say that those interfaces originated in > SunOS 4.0 and not an earlier version.
I believe it.