summary refs log tree commit diff
diff options
context:
space:
mode:
authorLaurent Bercot <ska-skaware@skarnet.org>2020-12-09 17:26:11 +0000
committerLaurent Bercot <ska-skaware@skarnet.org>2020-12-09 17:26:11 +0000
commitef7aef6ba0d90174e9079944eaf3010de3555cc0 (patch)
tree64083d0e1945d96ba003cad3ff2b8583d25e740b
parente557bab0dcaf35f003fa755b74e4c80000e05e42 (diff)
downloadskalibs-ef7aef6ba0d90174e9079944eaf3010de3555cc0.tar.gz
skalibs-ef7aef6ba0d90174e9079944eaf3010de3555cc0.tar.xz
skalibs-ef7aef6ba0d90174e9079944eaf3010de3555cc0.zip
Reflect changes in doc
-rw-r--r--NEWS4
-rw-r--r--doc/libstddjb/exec.html (renamed from doc/libstddjb/webipc.html)8
-rw-r--r--doc/libstddjb/index.html5
-rw-r--r--doc/upgrade.html6
4 files changed, 16 insertions, 7 deletions
diff --git a/NEWS b/NEWS
index d390e6a..01dbbfd 100644
--- a/NEWS
+++ b/NEWS
@@ -10,6 +10,10 @@ unconditionally deleting the socket.
 so it does the right thing instead of clobbering sockets.
  - Complete revamping of the pathexec functions, see exec.h.
  - Revamping of the locking functions.
+ - Use of standard O_NONBLOCK and O_CLOEXEC instead of adhoc
+DJBUNIX_FLAG_NB and DJBUNIX_FLAG_COE.
+ - Better header separation; webipc.h removed (stuff moved to
+socket.h)
 
 
 In 2.9.3.0
diff --git a/doc/libstddjb/webipc.html b/doc/libstddjb/exec.html
index 33ba315..f8f586d 100644
--- a/doc/libstddjb/webipc.html
+++ b/doc/libstddjb/exec.html
@@ -3,9 +3,9 @@
     <meta name="viewport" content="width=device-width, initial-scale=1.0" />
     <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
     <meta http-equiv="Content-Language" content="en" />
-    <title>skalibs: the webipc header</title>
-    <meta name="Description" content="skalibs: the webipc header" />
-    <meta name="Keywords" content="skalibs header webipc socket unix domain network local" />
+    <title>skalibs: the exec header</title>
+    <meta name="Description" content="skalibs: the exec header" />
+    <meta name="Keywords" content="skalibs header exec environment char** execve" />
     <!-- <link rel="stylesheet" type="text/css" href="//skarnet.org/default.css" /> -->
   </head>
 <body>
@@ -18,7 +18,7 @@
 <a href="//skarnet.org/">skarnet.org</a>
 </p>
 
-<h1> The <tt>skalibs/webipc.h</tt> header </h1>
+<h1> The <tt>skalibs/exec.h</tt> header </h1>
 
 <p>
  TODO: write this documentation page. (Sorry!)
diff --git a/doc/libstddjb/index.html b/doc/libstddjb/index.html
index 7851ba9..2947530 100644
--- a/doc/libstddjb/index.html
+++ b/doc/libstddjb/index.html
@@ -62,6 +62,7 @@ wrappers</a> around I/O functions, extra I/O functions </li>
  <li> <a href="djbunix.html">skalibs/djbunix.h</a>: management of basic Unix concepts </li>
  <li> <a href="envalloc.html">skalibs/envalloc.h</a>: management of dynamically allocated <em>argv</em> and <em>envp</em> </li>
  <li> <a href="env.html">skalibs/env.h</a>: management of <em>argv</em> and <em>envp</em> </li>
+ <li> <a href="exec.html">skalibs/exec.h</a>: execution functions, with or without a newly built environment </li>
  <li> <a href="fmtscan.html">skalibs/fmtscan.h</a>: formatters (printers) and scanners (parsers) for basic C types </li>
  <li> <a href="genalloc.html">skalibs/genalloc.h</a>: generic advanced management of dynamically allocated structures </li>
  <li> <a href="genwrite.html">skalibs/genwrite.h</a>: interface to generic writes either to strallocs or to buffers </li>
@@ -82,12 +83,11 @@ how to safely handle signals in event loops) </li>
 <a href="https://pubs.opengroup.org/onlinepubs/9699919799/basedefs/sys_uio.h.html">iovec</a>
 structure </li>
  <li> <a href="skamisc.html">skalibs/skamisc.h</a>: general string quoting and parsing; miscellaneous, unclassifiable functions </li>
- <li> <a href="socket.html">skalibs/socket.h</a>: INET domain sockets </li>
+ <li> <a href="socket.html">skalibs/socket.h</a>: UNIX, INET and INET6 domain sockets </li>
  <li> <a href="stralloc.html">skalibs/stralloc.h</a>: advanced management of dynamically allocated strings </li>
  <li> <a href="strerr.html">skalibs/strerr.h</a>: basic error messages </li>
  <li> <a href="strerr2.html">skalibs/strerr2.h</a>: advanced error messages </li>
  <li> <a href="tai.html">skalibs/tai.h</a>: time, timers and system clock </li>
- <li> <a href="webipc.html">skalibs/webipc.h</a>: UNIX domain sockets </li>
 </ul>
 
 <p>
@@ -117,7 +117,6 @@ are not associated with any code and are mostly self-explanatory:
  <li> skalibs/diuint.h: for associative arrays of unsigned integers </li>
  <li> skalibs/diuint32.h: for associative arrays of 32-bit unsigned integers </li>
  <li> skalibs/disize.h: for associative arrays of size_t </li>
- <li> skalibs/environ.h: declaration of the <em>environ</em> variable </li>
  <li> skalibs/nsig.h: the number of system signals, for systems that do not define it </li>
  <li> skalibs/nonposix.h: feature test macros for non-POSIX-compliant systems </li>
 </ul>
diff --git a/doc/upgrade.html b/doc/upgrade.html
index 8a87d7d..6b0a8c7 100644
--- a/doc/upgrade.html
+++ b/doc/upgrade.html
@@ -27,6 +27,12 @@ uses it, so it won't unconditionally clobber sockets in the filesystem anymore.
  <li> Complete revamping of the pathexec functions, see <tt>exec.h</tt>. </li>
  <li> Revamping of the locking functions, see
 <a href="libstddjb/djbunix.html>djbunix.h</a>. </li>
+ <li> Use of standard O_NONBLOCK and O_CLOEXEC (defined in
+<a href="https://pubs.opengroup.org/onlinepubs/9699919799/basedefs/fcntl.h.html"></a>
+instead of adhoc <tt>DJBUNIX_FLAG_NB</tt> and <tt>DJBUNIX_FLAG_COE</tt>. </li>
+ <li>Better header separation; <tt>webipc.h</tt> removed (stuff moved to
+<tt>socket.h</tt>)
+
 </ul>
 
 <h2> in 2.9.3.0 </h2>