Path: utzoo!mnetor!uunet!seismo!sundc!pitstop!sun!gorodish!guy From: guy@gorodish.Sun.COM (Guy Harris) Newsgroups: comp.unix.aux Subject: Re: gettimeofday() Message-ID: <51375@sun.uucp> Date: 29 Apr 88 18:57:13 GMT References: <930@unisoft.UUCP> <51320@sun.uucp> Sender: news@sun.uucp Lines: 18 > Lots of programs (all the properly-written ones) that call > "gettimeofday()" explicitly indicate their disinterest in the timezone > information by passing a (properly-case, of course) null pointer as the > second argument, and most programs that call "gettimeofday()" don't want > the timezone information. Before everybody writes in, let me point out that: 1) "properly-case" should be "properly-cast" and 2) the "all the properly-written ones" refers not to all programs that call "gettimeofday()", just the 99% of them that have no interest in getting the time zone information directly from "gettimeofday()". Obviously, a properly written program that *does* want the time zone information from "gettimeofday()" won't pass it a null pointer for the second argument....