From c3150e36d6e3d8392c5801a19b7f63daa5551f37 Mon Sep 17 00:00:00 2001
From: Laurent Bercot
Date: Mon, 27 Nov 2017 12:44:40 +0000
Subject: Add s6_fdholder_start/end, prepare for 2.6.2.0
---
doc/index.html | 6 +++---
doc/libs6/s6-fdholder.html | 22 ++++++++++++++++++++++
doc/upgrade.html | 9 +++++++++
3 files changed, 34 insertions(+), 3 deletions(-)
(limited to 'doc')
diff --git a/doc/index.html b/doc/index.html
index cf41453..330d56e 100644
--- a/doc/index.html
+++ b/doc/index.html
@@ -83,11 +83,11 @@ with s6
A POSIX-compliant system with a standard C development environment
GNU make, version 3.81 or later
skalibs version
-2.6.0.1 or later. It's a build-time requirement. It's also a run-time
+2.6.2.0 or later. It's a build-time requirement. It's also a run-time
requirement if you link against the shared version of the skalibs
library.
execline version
-2.3.0.3 or later. It's a build-time and run-time requirement.
+2.3.0.4 or later. It's a build-time and run-time requirement.
Licensing
@@ -100,7 +100,7 @@ library.
Download
- - The current released version of s6 is 2.6.1.1.
+ - The current released version of s6 is 2.6.2.0.
- Alternatively, you can checkout a copy of the
s6
git repository:
diff --git a/doc/libs6/s6-fdholder.html b/doc/libs6/s6-fdholder.html
index af6df38..0a2413b 100644
--- a/doc/libs6/s6-fdholder.html
+++ b/doc/libs6/s6-fdholder.html
@@ -91,6 +91,28 @@ started by s6-ipcclient, both fds 6
and 7 are open (and refer to the same socket), so you should close both.
+
+ Alternatively, if your connection to s6-fdholderd has not been created yet,
+you can use the following functions:
+
+
+ int s6_fdholder_start (s6_fdholder_t *a, char const *path, tain_t const *deadline, tain_t *stamp)
+
+
+ Starts a session with a s6-fdholderd
+instance listening on path. a must be initialized to
+S6_FDHOLDER_ZERO before calling this function. On success, returns nonzero
+and a can be used as a handle for the next s6_fdholder_*
+function calls. On failure, returns 0, and sets errno.
+
+
+ void s6_fdholder_end (s6_fdholder_t *a)
+
+
+ Ends the current session and frees all allocated resources. If needed,
+a is immediately reusable for another s6_fdholder_start call.
+
+
Storing a fd
diff --git a/doc/upgrade.html b/doc/upgrade.html
index 58d349a..8f5db8d 100644
--- a/doc/upgrade.html
+++ b/doc/upgrade.html
@@ -18,6 +18,15 @@
What has changed in s6
+ in 2.6.2.0
+
+
+ - skalibs dependency bumped to 2.6.2.0.
+ - execline dependency bumped to 2.3.0.4.
+ - New s6_fdholder functions:
+s6_fdholder_start(), s6_fdholder_end().
+
+
in 2.6.1.1