From b0fe68c13b04af8c098d53ea999bba6b7395163d Mon Sep 17 00:00:00 2001
From: Laurent Bercot
Date: Wed, 16 Sep 2020 12:04:55 +0000
Subject: Documentation fixes, by flexibeast
---
doc/libs6/accessrules.html | 8 ++++----
doc/libs6/ftrigr.html | 8 ++++----
doc/libs6/s6-fdholder.html | 2 +-
doc/libs6/s6-ftrigrd.html | 8 ++++----
doc/libs6/s6lock.html | 8 ++++----
doc/libs6/s6lockd.html | 12 ++++++------
6 files changed, 23 insertions(+), 23 deletions(-)
(limited to 'doc/libs6')
diff --git a/doc/libs6/accessrules.html b/doc/libs6/accessrules.html
index 2360cfc..51d0a58 100644
--- a/doc/libs6/accessrules.html
+++ b/doc/libs6/accessrules.html
@@ -88,7 +88,7 @@ under, in the format understood by
s6-accessrules-cdb-from-fs.
s6_accessrules_backend_cdb takes a struct cdb *
handle and looks up key in the
-CDB it points to. handle must
+CDB it points to. handle must
already be mapped to a CDB file. Such a file can be built with the
s6-accessrules-cdb-from-fs
utility.
@@ -143,7 +143,7 @@ starting with key itself and ending with key's TLD,
it looks up reversedns/k. The final dot is excluded from
k. If no match can be found, the function checks reversedns/@
and returns the result. For instance, if key is "foo.bar.com",
-the following strings are looked up, in that order:
+the following strings are looked up, in this order:
- reversedns/foo.bar.com
- reversedns/bar.com
@@ -158,7 +158,7 @@ netmask mask from 32 to 0, it constructs the IPv4 network
prefix addr corresponding to that address, and looks up
ip4/addr_mask. For instance, if key
is "\300\250\001\007", representing the 192.168.1.7 address, the following
-strings are looked up, in that order:
+strings are looked up, in this order:
- ip4/192.168.1.7_32
- ip4/192.168.1.6_31
@@ -187,7 +187,7 @@ and looks up
ip6/addr_mask. For instance, if key
is "*\0\024P@\002\b\003\0\0\0\0\0\0\020\006", representing the
2a00:1450:4002:803::1006 address, the following
-strings are looked up, in that order:
+strings are looked up, in this order:
- ip6/2a00:1450:4002:803::1006_128
- ip6/2a00:1450:4002:803::1006_127
diff --git a/doc/libs6/ftrigr.html b/doc/libs6/ftrigr.html
index 84ab1cd..d1b2efe 100644
--- a/doc/libs6/ftrigr.html
+++ b/doc/libs6/ftrigr.html
@@ -45,7 +45,7 @@ simply ignoring pids you don't know.
If your application has trouble handling unknown
-children, consider using a ftrigrd service. (And fix your application!)
+children, consider using an ftrigrd service. (And fix your application!)
A programming example
@@ -112,11 +112,11 @@ ftrigr_startf(&a, &deadline, &stamp) ;
-ftrigr_start starts a session with a ftrigrd service listening on
+ftrigr_start starts a session with an ftrigrd service listening on
path.
-ftrigr_startf starts a session with a ftrigrd process as a child
+ftrigr_startf starts a session with an ftrigrd process as a child
(which is the simplest usage).
-a is a ftrigr_t structure that must be declared in the stack and
+a is an ftrigr_t structure that must be declared in the stack and
initialized to FTRIGR_ZERO.
stamp must be an accurate enough timestamp.
If the session initialization fails, the function returns 0 and errno is set;
diff --git a/doc/libs6/s6-fdholder.html b/doc/libs6/s6-fdholder.html
index 38a2343..4a2fb25 100644
--- a/doc/libs6/s6-fdholder.html
+++ b/doc/libs6/s6-fdholder.html
@@ -72,7 +72,7 @@ s6_fdholder_free(&a) ;
s6_fdholder_init assumes that fd is a socket already
-connected to a s6-fdholderd daemon. The a structure must be
+connected to an s6-fdholderd daemon. The a structure must be
initialized to S6_FDHOLDER_ZERO before use.
diff --git a/doc/libs6/s6-ftrigrd.html b/doc/libs6/s6-ftrigrd.html
index 23c63c2..7325c72 100644
--- a/doc/libs6/s6-ftrigrd.html
+++ b/doc/libs6/s6-ftrigrd.html
@@ -39,10 +39,10 @@ stdout is a pipe writing to the client; its stderr is the same as the client's;
there's an additional pipe from s6-ftrigrd to the client, used for asynchronous
notifications.
- If the client program uses ftrigr_start(), then it tries to connect
-to a Unix domain socket. A ftrigrd local service should be listening to that
-socket, i.e. a Unix domain superserver such as
+to a Unix domain socket. An ftrigrd local service should be listening to that
+socket, i.e. a Unix domain super-server such as
s6-ipcserver
-spawning a s6-ftrigrd program on every connection. Then a s6-ftrigrd instance is created
+spawning an s6-ftrigrd program on every connection. Then an s6-ftrigrd instance is created
for the client.
- When the client uses ftrigr_end(), or closes s6-ftrigrd's stdin in
any way, s6-ftrigrd exits 0.
@@ -71,7 +71,7 @@ to read them. To avoid uncontrolled growth, make sure your client calls
- A s6-ftrigrd instance can only handle up to FTRIGRD_MAX (defined in s6/ftrigr.h)
+ An s6-ftrigrd instance can only handle up to FTRIGRD_MAX (defined in s6/ftrigr.h)
subscriptions at once. By default, this number is 1000, which is more than enough for
any reasonable system.
diff --git a/doc/libs6/s6lock.html b/doc/libs6/s6lock.html
index 5eb580b..049ed44 100644
--- a/doc/libs6/s6lock.html
+++ b/doc/libs6/s6lock.html
@@ -40,7 +40,7 @@ options are usually available.
s6lockd service concurrently
accessed by several applications using such locks to gate shared
resources.
- If you're not using a s6lockd service,
+ If you're not using an s6lockd service,
make sure your application is not disturbed by children it doesn't
know it has. Using nonblocking waits, ignoring pids you don't know, and
using a
@@ -65,13 +65,13 @@ s6lock_start_g(&a, path, &deadline) ;
-s6lock_start_g starts a session by connecting to a s6lockd service
+s6lock_start_g starts a session by connecting to an s6lockd service
listening on path. The working directory is set by the administrator
of the service.
-s6lock_startf_g starts a session with a s6lockd process as a child,
+s6lock_startf_g starts a session with an s6lockd process as a child,
using lockdir as its working directory.
-a is a s6lock_t structure that must be declared in the stack and
+a is an s6lock_t structure that must be declared in the stack and
initialized to S6LOCK_ZERO.
If the session initialization fails, the function returns 0 and errno is set;
else the function returns 1.
diff --git a/doc/libs6/s6lockd.html b/doc/libs6/s6lockd.html
index 9fcb055..089de57 100644
--- a/doc/libs6/s6lockd.html
+++ b/doc/libs6/s6lockd.html
@@ -39,11 +39,11 @@ user: it will be spawned by the
- Use the s6lock_startf() library call.
-A s6lockd child will then be spawned from your
+An s6lockd child will then be spawned from your
calling process, and automatically reaped when you call
s6lock_end(). It requires care with applications that
trap SIGCHLD. It also requires care with lock file permissions:
-a s6lockd instance might not be able
+an s6lockd instance might not be able
to open a lock file created by a former instance run by another
client with different permissions.
- Use the s6lock_start() library call, together with a
@@ -56,10 +56,10 @@ simplifies permissions management considerably.
When run as a service, s6lockd has no "standalone" mode: it is
designed to work with a Unix
-domain superserver, like
+domain super-server, like
s6-ipcserver.
-s6lockd follows the UCSPI
-interface, it can be directly executed from the superserver.
+s6lockd follows the UCSPI
+interface, it can be directly executed from the super-server.
Notes
@@ -67,7 +67,7 @@ interface, it can be directly executed from the superserver.
- Unix does not natively provide a way to stop blocking on a lock
acquisition after a timeout. To emulate such behaviour, s6lockd actually
-spawns a s6lockd-helper child per
+spawns an s6lockd-helper child per
requested lock.
--
cgit v1.3.1