summaryrefslogtreecommitdiff
path: root/src/libstddjb/child_spawn1_socket.c
AgeCommit message (Collapse)Author
2020-12-09 Get rid of webipc.h and DJBUNIX_FLAG_*Laurent Bercot
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.
2014-12-18 Fix fd management in new child_spawn1, make socket nb for skaclientLaurent Bercot
2014-12-18 Separate socket from pipe in child_spawn. Less code in skaclient!Laurent Bercot