chiark / gitweb /
Build fixes.
[userv.git] / INSTALL
diff --git a/INSTALL b/INSTALL
index 8c5db28545b190e7ddf019230875dcf3fcccf802..baf762f9d8e797449bde81be112f698a83bbbd43 100644 (file)
--- a/INSTALL
+++ b/INSTALL
@@ -47,11 +47,15 @@ System interfaces:
 * 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: