1 Name: newlib-extras 2 URL: ftp://sourceware.org/pub/newlib/newlib-2.0.0.tar.gz 3 Version: 2.0.0 4 Date: 2013-07-30 5 License: BSD 3-Clause License 6 License File: README 7 Security Critical: no 8 9 This directory contains several socket-related header files taken from newlib. 10 These files are not present in the version of newlib included in the NaCl 11 toolchain. Using these files allows nacl_io to provide POSIX socket 12 virtualization in the newlib and pnacl toolchains. 13 14 Description: (from sourceware.org/newlib) 15 16 Newlib is a C library intended for use on embedded systems. It is a 17 conglomeration of several library parts, all under free software licenses 18 that make them easily usable on embedded products. 19 20 Local Modifications: 21 * Removed the revoked third clause from the licenses in the header files. 22 * Correctly wrapped netdb.h to allow it to be included in both C and C++ files. 23 * Removed faulty _BSD_SIZE_T_ typedef in arpa/inet.h. 24 * Removed macros in arpa/inet.h which added underbars to various functions of 25 the form inet_*, to avoid problems with forward declarations in user code. 26 * Added prototypes for htonl, htons, ntohl, and ntohs to netinet/in.h. 27 * Modified netinet/in.h not to use u_int32_t. 28 * Added SOCK_CLOEXEC and SOCK_NONBLOCK socket type flags. 29 * Make sure SA_SIGINFO is defined under __native_client__ 30 * Removed ss_len field from sockaddr_storage in sys/socket.h. 31 * Added _ALIGNBYTES and _ALIGN() in sys/socket.h. 32