From cc31550d01415181e70150ad3e9043d049b07a09 Mon Sep 17 00:00:00 2001
From: Laurent Bercot
+ void fd_shutdown (int fd, int w)
+Shuts down socket fd, for reading if w is zero,
+and for writing otherwise. Does not return an error code; does
+not modify errno. This is just a call to
+shutdown()
+with errno saved, used essentially to isolate application code from
+sys/socket.h which is a portability nightmare.
+
int lock_ex (int fd)
Gets an exclusive advisory lock on fd. fd must point to
--
cgit v1.2.3