Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!linus!wivax!decvax!harpo!seismo!hao!hplabs!sri-unix!edhall@rand-unix From: edhall%rand-unix@sri-unix.UUCP Newsgroups: net.unix-wizards Subject: Re: fdopen(open(... vs. a plain fopen(.. - (nf) Message-ID: <2498@sri-arpa.UUCP> Date: Thu, 23-Jun-83 19:57:00 EDT Article-I.D.: sri-arpa.2498 Posted: Thu Jun 23 19:57:00 1983 Date-Received: Sat, 25-Jun-83 19:01:27 EDT Lines: 5 You can always use the fileno() macro to get the file descriptor. As near as I can tell, the re-open is to set read/write access, as fopen() can only provide read-only or write-only opens. -Ed