Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!watmath!clyde!floyd!harpo!seismo!hao!hplabs!sri-unix!sdyer@bbn-unix From: sdyer%bbn-unix@sri-unix.UUCP Newsgroups: net.unix Subject: Re: help needed to download ascii null from unix Message-ID: <16232@sri-arpa.UUCP> Date: Tue, 31-Jan-84 19:51:04 EST Article-I.D.: sri-arpa.16232 Posted: Tue Jan 31 19:51:04 1984 Date-Received: Tue, 7-Feb-84 12:40:48 EST Lines: 20 From: Steve DyerNo, Doug is right and you are wrong. write(fh, "", 1) writes an ASCII NUL onto file handle fh. '""' (whew! got that?) resolves to an address of a byte which contains NUL. This is different from write(fh, NULL, 1) or equivalently, write(fh, 0, 1) which writes out the contents of address 0. Does everyone remember what 'setf' looked like on PDP-11 systems? &PNP, Steve Dyer