This is the mail archive of the newlib@sourceware.org mailing list for the newlib project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Addition of constant to devctl.h


Hi

The FACE Technical Standard Edition 3.0 requires that devctl.h define
the constant SOCKCLOSE which may be used with posix_devctl().

I don't think any other target supports posix_devctl() and AFAIIK no
OS supprting devctl.h which isn't also trying to follow the FACE
Technical Standard. For newlib, that set is just RTEMS.

My best solution so far is to add it at the bottom of  the rtems
specific sys/sockio.h and conditionalize the include of <sys/sockio.h>
in devctl.h on __rtems__.

Any thoughts?

--joel
.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]