Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!watmath!clyde!burl!ulysses!mhuxl!eagle!harpo!seismo!hao!hplabs!sri-unix!gwyn@brl-vld From: gwyn%brl-vld@sri-unix.UUCP Newsgroups: net.unix-wizards Subject: Re: pointer size problems Message-ID: <17143@sri-arpa.UUCP> Date: Fri, 2-Mar-84 17:44:01 EST Article-I.D.: sri-arpa.17143 Posted: Fri Mar 2 17:44:01 1984 Date-Received: Mon, 5-Mar-84 01:10:55 EST Lines: 6 From: Doug Gwyn (VLD/VMB)read(fd, &y, sizeof y) is not portable for reasons that have nothing to do with alignment and padding. (ANY use of binary external data is inherently machine-dependent.) The problem with the read statement is that &y is not a (char *).