fopen

Name

fopen -- open a file

Description

fopen is as specified in ISO POSIX (2003), but with differences as listed below.

May return ENODEV in place of ENXIO

Where the ISO POSIX (2003) specifies an ENXIO return, the implementation may return either ENXIO or ENODEV. Implementations are encouraged to return ENXIO.

Note

As of spring 2004, we don't know of any Linux kernel patches to switch to ENXIO, but we believe that such a kernel patch would be accepted if submitted.