Hi,
I went through FreeBSD, NetBSD, glibc/Linux and musl, and found that some
error numbers defined by POSIX.1-2017 are missing in the implementations:
ENOTRECOVERABLE, ENOTSUP and EOWNERDEAD.
I did a bit of digging but couldn't actually find a copy of the POSIX.1-1996
definition of errno.h. If anybody does manage to find a copy I'm happy to go
through and check against that as well.
Thanks,
Richard
Richard Ipsum (4):
Define additional POSIX error numbers
simple: Add fdopen
Add sigpending, sigsuspend, sigwait, sigwaitinfo, sigtimedwait and
raise
Add license statements
Makefile | 1 +
findlua.mk | 1 +
luxio.c | 276 ++++++++++++++++++++++++++++++++++------
luxio/simple.lua | 18 +++
luxio_constants.inc.in | 52 +++++++-
tests/test-access.lua | 1 +
tests/test-creat.lua | 1 +
tests/test-dirent.lua | 1 +
tests/test-event-serv.lua | 1 +
tests/test-fcntl-lock-1.lua | 1 +
tests/test-fcntl-lock-2.lua | 1 +
tests/test-forkexecpwaitpid.lua | 1 +
tests/test-forkexecwaitpid.lua | 1 +
tests/test-http-client.lua | 1 +
tests/test-iconv.lua | 1 +
tests/test-mqueue-read.lua | 1 +
tests/test-mqueue-write.lua | 1 +
tests/test-poll-serv.lua | 1 +
tests/test-select.lua | 1 +
tests/test-setsid.lua | 1 +
tests/test-sigaction.lua | 1 +
tests/test-sigpending.lua | 18 +++
tests/test-sigprocmask.lua | 1 +
tests/test-sigsuspend.lua | 16 +++
tests/test-sigtimedwait.lua | 38 ++++++
tests/test-sigwait.lua | 22 ++++
tests/test-sigwaitinfo.lua | 22 ++++
tests/test-sio-http-client.lua | 1 +
tests/test-splice.lua | 1 +
tests/test-subprocess.lua | 1 +
tests/test-sysconf.lua | 1 +
tests/test-syslog.lua | 1 +
tests/test-termident.lua | 1 +
tests/test-uds-server.lua | 1 +
34 files changed, 446 insertions(+), 42 deletions(-)
create mode 100644 tests/test-sigpending.lua
create mode 100644 tests/test-sigsuspend.lua
create mode 100644 tests/test-sigtimedwait.lua
create mode 100644 tests/test-sigwait.lua
create mode 100644 tests/test-sigwaitinfo.lua
--
2.11.0