Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!watmath!clyde!floyd!harpo!seismo!hao!hplabs!sri-unix!buck@nrl-css From: buck%nrl-css@sri-unix.UUCP Newsgroups: net.unix-wizards Subject: read(fd,&y, sizeof y) Message-ID: <17158@sri-arpa.UUCP> Date: Sat, 3-Mar-84 22:45:27 EST Article-I.D.: sri-arpa.17158 Posted: Sat Mar 3 22:45:27 1984 Date-Received: Fri, 9-Mar-84 01:22:01 EST Lines: 14 From: Joe BuckWell, almost. On machines with character pointers of different length and structure from other pointers (and in all cases, just to please lint) you should say read(fd, (char *) &y, sizeof y) Ok Doug? By the way, does anyone know of such a Unix implementation (one in which the statement above, without the cast, won't work? -Joe