Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!watmath!clyde!floyd!harpo!seismo!hao!hplabs!sri-unix!romkey@mit-borax From: romkey%mit-borax@sri-unix.UUCP Newsgroups: net.unix Subject: Re: help needed to download ascii null from unix Message-ID: <16223@sri-arpa.UUCP> Date: Tue, 31-Jan-84 18:08:39 EST Article-I.D.: sri-arpa.16223 Posted: Tue Jan 31 18:08:39 1984 Date-Received: Tue, 7-Feb-84 12:31:50 EST Lines: 10 From: John L. RomkeyDoing a write(2,"",1) shouldn't write the first byte of your address space! The compiler should cons up a string which consists of a '\0' character and push the address of the string as the second argument in the write. Since the system call was told to write one byte, it'll write a '\0' (or 0 or NULL or whatever you like). - John Romkey romkey@mit-borax