* Unix-domain (AF_UNIX) stream sockets, for use with:
* BSD sockets - socket(), bind(), listen(), accept(), connect();
* socketpair(2);
-* lstat(2) (though stat(2) will be safe on systems without symlinks).
+* lstat(2) (though stat(2) will be safe on systems without symlinks,
+ if you say -Dlstat=stat).
* Pipes:
* creating using pipe(2) and mkfifo(2);
* proper interaction between open(O_RDWR), open(O_RDONLY),
- open(O_WRONLY), close(), dup2, EPIPE, SIGPIPE, &c.;
+ open(O_WRONLY), close(), dup2, EPIPE, SIGPIPE, &c.
+ (ie, opening pipes with O_RDWR never blocks; EPIPE happens
+ if you write with no readers; EOF happens if you read with
+ no buffered data and writers)
* POSIX signal handling - sigaction(2), sigprocmask(2), sigsuspend(2);
To format the documentation: