Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP
Path: utzoo!linus!genrad!mit-eddi!mit-vax!eagle!harpo!seismo!hao!hplabs!sri-unix!Satz@sri-tsc
From: Satz%sri-tsc@sri-unix.UUCP
Newsgroups: net.unix-wizards
Subject: fdopen(open(... vs. a plain fopen(... in getpass(3)
Message-ID: <2171@sri-arpa.UUCP>
Date: Wed, 15-Jun-83 11:17:00 EDT
Article-I.D.: sri-arpa.2171
Posted: Wed Jun 15 11:17:00 1983
Date-Received: Sat, 18-Jun-83 02:16:34 EDT
Lines: 11

From:  Greg Satz 


With all of the explainations flying around, I still haven't figured
out why you would ever want to do the fdopen(open(... sequence in lieu
of a plain fopen(...

The bug fix that was mailed out previously that split them into two
different operations would, in my opinion, almost always be preferred
in this type of situation. But why is it necessary to do an open and an
fdopen?