aboutsummaryrefslogtreecommitdiffstats
path: root/src/libstddjb/ipc_recv.c
Commit message (Collapse)AuthorAgeFilesLines
* Save/restore errno in all safe wrappersLaurent Bercot2026-01-011-2/+5
|
* Get rid of webipc.h and DJBUNIX_FLAG_*Laurent Bercot2020-12-091-3/+2
| | | | | | | | | | | | | | Decent semantic header separation is hard. It's always an ongoing process. Here socket.h always included webipc.h for listen(), and webipc.h always included djbunix.h for socket_internal() and socketpair_internal(). That's ugh. Just move all the socket stuff into one socket header. Of course, djbunix.h is still needed most of the time for fd_close() and other operations on fds, but those are generic anyway. Also, O_CLOEXEC exists everywhere now, so we can use it as well as O_NONBLOCK instead of redefining the flags in djbunix.h.
* Separate and expose ancil_recv_fd/ancil_send_fdLaurent Bercot2020-10-261-1/+1
| | | | | | | The goal is to make late channel creation easy, as opposed to textclient which always creates a new channel at start time. This commit also moves posixishard.h inclusions as late as possible.
* Add skalibs/posixishard.hLaurent Bercot2019-02-191-1/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | This will break things. It's a known issue. Patches to other packages will come later, to adapt them to the new API. To work around brokenness, there needs to be *two* different headers: 1. one to be used before including system headers, that maximizes visibility by enabling system-dependent feature test macros (that will be tested by system headers) 2. one to be used after including system headers, that performs preprocessor tests and defines. skalibs/nonposix.h is the first one. Previously, there was no second one, and the tests were scattered all over. There was a strnlen declaration in skalibs/posixplz.h (which serves a totally different function: declaring things that should be in POSIX, but *are not*, i.e. working around problems in the standard, instead of problems in systems failing to respect the standard), a build-time sysdep for error.h, #defines for MSG_NOSIGNAL, etc. etc. skalibs/posixishard.h now is the second one, and centralizes all the tests. As a result, the eproto sysdep is unnecessary and has been removed. skalibs/error.h is now a static header, it is not built anymore.
* Types change: big pass on libstddjb and libunixonacidLaurent Bercot2017-02-211-6/+6
| | | | libdatastruct still missing, library still not functional
* Appease compiler on .sun_family in ipc_recvLaurent Bercot2015-06-251-1/+1
|
* initial commit with rc for skalibs-2.0.0.0Laurent Bercot2014-09-181-0/+33