zephyr/include/posix
Paul Sokolovsky 0173d86e6f lib: posix, minlibc: struct itimerspec is defined by sys/timespec.h
Newlib has it defined in sys/timespec.h, and thus per the established
conventions, everything else relies on it being there. Specifically,
minimal libc acquires sys/timespec.h with a similar definition, and
POSIX headers rely on that header. Still with a workaround for old
Newlib version as used by Xtensa (but all infrastructure for that is
already there; actually, this patch removes duplicate similar-infra,
which apparently didn't work as expected by now, so now we have a
single workaround, not 2 different once).

To emphasize a point, now there 2 headers:

sys/_timespec.h, defining struct timespec, and
sys/timespec.h, defining struct itimerspec

That's how Newlib has it, and what we faithfully embrace and follow,
because otherwise, there will be header conflicts depending on
various libc and POSIX subsys options.

Signed-off-by: Paul Sokolovsky <paul.sokolovsky@linaro.org>
2019-09-25 20:56:29 -07:00
..
arpa include/posix: rearrange for standard use of extern "C" 2019-08-13 18:00:31 +02:00
net posix: Add headers related to BSD Sockets API 2019-08-07 15:02:11 +03:00
netinet posix: Add headers related to BSD Sockets API 2019-08-07 15:02:11 +03:00
sys include: posix: sys/socket.h: Export MSG_* constants. 2019-08-27 15:02:42 +02:00
dirent.h include/posix: rearrange for standard use of extern "C" 2019-08-13 18:00:31 +02:00
mqueue.h posix: mqueue.h: Move O_CREAT and friends to fcntl.h 2019-07-25 13:50:58 -04:00
netdb.h include/posix: rearrange for standard use of extern "C" 2019-08-13 18:00:31 +02:00
poll.h include: posix: Add poll.h header 2019-08-27 15:02:42 +02:00
posix_sched.h
posix_types.h include/posix: rearrange for standard use of extern "C" 2019-08-13 18:00:31 +02:00
pthread.h posix: pthread: pthread_mutex_timedlock should accept absolute deadline 2019-08-27 17:50:48 -04:00
pthread_key.h include/posix: rearrange for standard use of extern "C" 2019-08-13 18:00:31 +02:00
semaphore.h include/posix: rearrange for standard use of extern "C" 2019-08-13 18:00:31 +02:00
signal.h include/posix: rearrange for standard use of extern "C" 2019-08-13 18:00:31 +02:00
time.h lib: posix, minlibc: struct itimerspec is defined by sys/timespec.h 2019-09-25 20:56:29 -07:00
unistd.h include/posix: rearrange for standard use of extern "C" 2019-08-13 18:00:31 +02:00