[RTEMS Project] #2833: POSIX header files should move to Newlib

RTEMS trac trac at rtems.org
Wed Jun 7 13:41:36 UTC 2017


#2833: POSIX header files should move to Newlib
-----------------------------+---------------------
 Reporter:  Sebastian Huber  |       Owner:  (none)
     Type:  enhancement      |      Status:  new
 Priority:  normal           |   Milestone:  5.0
Component:  tools            |     Version:  4.12
 Severity:  normal           |  Resolution:
 Keywords:                   |
-----------------------------+---------------------
Description changed by Sebastian Huber:

Old description:

> This has the following benefits.
>
> 1. It ensures compatibility between the standard and libbsd network stack
> at user API level.
>
> 2. These files may be used by lwIP to provide the standard API.
>
> 3. It allows 3rd party code depending only on the POSIX network headers
> to build without RTEMS, e.g. GCC Ada, Go and Cilk Plus languages,
> libressl library etc. Allows build of libraries per multilib.
>

> List of POSIX headers not in Newlib or GCC for RTEMS:
>
> aio.h           asynchronous input and output
> arpa/inet.h     definitions for internet operations
> cpio.h          cpio archive values
> dlfcn.h         dynamic linking
> fenv.h          floating-point environment
> fmtmsg.h        message display structures
> ftw.h           file tree traversal
> iso646.h        alternative spellings
> monetary.h      monetary types
> mqueue.h        message queues (REALTIME)
> ndbm.h          definitions for ndbm database operations
> netdb.h         definitions for network database operations
> net/if.h        sockets local interfaces
> netinet/in.h    Internet address family
> netinet/tcp.h   definitions for the Internet Transmission Control
> Protocol (TCP)
> nl_types.h      data types
> poll.h          definitions for the poll() function
> stropts.h       STREAMS interface (STREAMS)
> sys/ipc.h       XSI interprocess communication access structure
> syslog.h        definitions for system error logging
> sys/msg.h       XSI message queue structures
> sys/sem.h       XSI semaphore facility
> sys/shm.h       XSI shared memory facility
> sys/socket.h    main sockets header
> sys/statvfs.h   VFS File System information structure
> sys/uio.h       definitions for vector I/O operations
> sys/un.h        definitions for UNIX domain sockets
> sys/utsname.h   system name structure
> termios.h       define values for termios
> trace.h         tracing
> ulimit.h        ulimit commands
> utmpx.h         user accounting database definitions
>
> See also:
>
> http://pubs.opengroup.org/onlinepubs/9699919799/idx/head.html

New description:

 This has the following benefits.

 1. It ensures compatibility between the standard and libbsd network stack
 at user API level.

 2. These files may be used by lwIP to provide the standard API.

 3. It allows 3rd party code depending only on the POSIX network headers to
 build without RTEMS, e.g. GCC Ada, Go and Cilk Plus languages, libressl
 library etc. Allows build of libraries per multilib.


 List of POSIX headers not in Newlib or GCC for RTEMS:

 aio.h           asynchronous input and output
 cpio.h          cpio archive values
 dlfcn.h         dynamic linking
 fenv.h          floating-point environment
 fmtmsg.h        message display structures
 ftw.h           file tree traversal
 iso646.h        alternative spellings
 monetary.h      monetary types
 mqueue.h        message queues (REALTIME)
 ndbm.h          definitions for ndbm database operations
 nl_types.h      data types
 poll.h          definitions for the poll() function
 stropts.h       STREAMS interface (STREAMS)
 sys/ipc.h       XSI interprocess communication access structure
 sys/msg.h       XSI message queue structures
 sys/sem.h       XSI semaphore facility
 sys/shm.h       XSI shared memory facility
 sys/statvfs.h   VFS File System information structure
 sys/utsname.h   system name structure
 trace.h         tracing
 ulimit.h        ulimit commands
 utmpx.h         user accounting database definitions

 See also:

 http://pubs.opengroup.org/onlinepubs/9699919799/idx/head.html

--

--
Ticket URL: <http://devel.rtems.org/ticket/2833#comment:20>
RTEMS Project <http://www.rtems.org/>
RTEMS Project


More information about the bugs mailing list