Kurt Wall <[EMAIL PROTECTED]> writes:

> I'm a touch stumped: fdopen is declared in <stdio.h> and most certainly
> returns FILE *.  If I don't use `-ansi', I get no warnings, so I'm
> guessing the issue is that fdopen is POSIX.1 compliant, but not ANSI
> compliant.

Correct; ANSI C needs to support systems which don't have Unix-style
file descriptors, so fopen() is the only function it provides to open
a file.

-- 
Aaron M. Ucko, KB1CJC <[EMAIL PROTECTED]> (finger [EMAIL PROTECTED])

Reply via email to