fdopen(open(... vs. a plain fopen(.. - (nf)

edhall%rand-unix at sri-unix.UUCP edhall%rand-unix at sri-unix.UUCP
Fri Jun 24 09:57:00 AEST 1983


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



More information about the Comp.unix.wizards mailing list