Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!watmath!clyde!akgua!mcnc!ncsu!uvacs!iedl02!ebk From: ebk@iedl02.UUCP Newsgroups: net.unix-wizards Subject: Re: 4.2BSD ctime() arguments Message-ID: <1738@iedl02.UUCP> Date: Fri, 20-Apr-84 23:07:48 EST Article-I.D.: iedl02.1738 Posted: Fri Apr 20 23:07:48 1984 Date-Received: Sun, 22-Apr-84 08:22:34 EST Lines: 17 On any Unix system I've ever seen, time_t exists and is 32 bits. goes back to v7, and probably further, and defines the necessary bit widths for certain types, such as time_t, daddr_t (disk address), caddr_t (core address), etc. types.h could be made a bit clearer by doing something like: #define BIT16 int #define BIT32 long typedef time_t BIT32 typedef ino_t BIT16 ... ... For portability, never use int, long, etc., when referring to a system type - use the entry from sys/types.h John Owens