fopen

Name

fopen -- open a file

Description

fopen is as specified in the Single UNIX Specification, but with differences as listed below.

May return ENODEV in place of ENXIO

Where the Single UNIX Specification specifies an ENXIO return, the implementation may return either ENXIO or ENODEV. Implementations are encouarged to return ENXIO. [1]

Notes

[1]

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.