Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.2 9/17/84; site elsie.UUCP Path: utzoo!watmath!clyde!burl!ulysses!mhuxr!mhuxt!houxm!whuxl!whuxlm!akgua! sdcsvax!dcdwest!ittvax!decvax!genrad!panda!talcott!harvard!seismo!elsie!ado From: a...@elsie.UUCP (Arthur David Olson) Newsgroups: net.unix-wizards Subject: Question on "#include <time.h>" vs "#include <sys/time.h>" Message-ID: <5078@elsie.UUCP> Date: Tue, 19-Mar-85 21:19:12 EST Article-I.D.: elsie.5078 Posted: Tue Mar 19 21:19:12 1985 Date-Received: Sat, 23-Mar-85 04:25:48 EST Organization: NIH-LEC, Bethesda, MD Lines: 31 UNIX systems have a file that you can include with the preprocessor directive #include <time.h> 4.1bsd systems also have such a file. However, on 4.2bsd systems you include the file with the preprocessor directive #include <sys/time.h> I'd appreciate it if some wizard could fill in the blanks below: #include _________________ #ifdef ___________________ #include <time.h> #else #include <sys/time.h> #endif I'd also appreciate fill-ins for these blanks: #include _________________ #ifdef ___________________ #include <time.h> #else #include <sys/time.h> #endif (where, ideally, the blanks get filled in the same way). Thanks for your help. -- UNIX is an AT&T Bell Laboratories trademark. Time is a Time, Incorporated trademark. -- UUCP: ..decvax!seismo!elsie!ado ARPA: elsie!...@seismo.ARPA DEC, VAX and Elsie are Digital Equipment and Borden trademarks