fdopen(open(... vs. a plain fopen(... in getpass(3)

Satz%sri-tsc at sri-unix.UUCP Satz%sri-tsc at sri-unix.UUCP
Thu Jun 16 01:17:00 AEST 1983


From:  Greg Satz <Satz at sri-tsc>


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?



More information about the Comp.unix.wizards mailing list