open

Name

open -- open a file

Description

open is as specified in ISO/IEC 9945:2003 Portable Operating System(POSIX)and The Single UNIX® Specification(SUS) V3, but with differences as listed below.

May return ENODEV in place of ENXIO

Where ISO/IEC 9945:2003 Portable Operating System(POSIX)and The Single UNIX® Specification(SUS) V3 specifies an ENXIO return, a conforming 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.