summaryrefslogtreecommitdiffstats
path: root/share
diff options
context:
space:
mode:
Diffstat (limited to 'share')
-rw-r--r--share/man/man3/queue.32
-rw-r--r--share/man/man4/acpi.48
-rw-r--r--share/man/man4/pcm.42
-rw-r--r--share/man/man5/make.conf.54
-rw-r--r--share/man/man5/nsswitch.conf.52
-rw-r--r--share/man/man8/rc.82
-rw-r--r--share/man/man9/sema.97
7 files changed, 16 insertions, 11 deletions
diff --git a/share/man/man3/queue.3 b/share/man/man3/queue.3
index 692bccc..6b689ac 100644
--- a/share/man/man3/queue.3
+++ b/share/man/man3/queue.3
@@ -859,7 +859,7 @@ assigning each element in turn to
However, unlike their unsafe counterparts,
.Nm TAILQ_FOREACH
and
-.Nm TAILQ_FOREACH_REVERSE
+.Nm TAILQ_FOREACH_REVERSE
permit to both remove
.Fa var
as well as free it from within the loop safely without interfering with the
diff --git a/share/man/man4/acpi.4 b/share/man/man4/acpi.4
index e36919b..9f441de 100644
--- a/share/man/man4/acpi.4
+++ b/share/man/man4/acpi.4
@@ -214,16 +214,16 @@ enabled, there is a BIOS blacklist.
Currently, the blacklist only controls whether
.Nm
should be disabled or not.
-In the future, it will have more granularity to control features (the
+In the future, it will have more granularity to control features (the
infrastructure for that is already there).
.Pp
To enable
.Nm
-(for debugging purposes, etc.) on machines that are on the blacklist, set the
+(for debugging purposes, etc.) on machines that are on the blacklist, set the
kernel environment variable
.Va hint.acpi.0.disabled
to 0.
-Before trying this, consider updating your BIOS to a more recent version that
+Before trying this, consider updating your BIOS to a more recent version that
may be compatible with ACPI.
.Pp
To disable the
@@ -349,7 +349,7 @@ Name of the DSDT table to load, if loading is enabled.
Selectively disables portions of ACPI for debugging purposes.
.It Va hint.acpi.0.disabled
Set this to 1 to disable all of ACPI.
-If ACPI has been disabled on your system due to a blacklist entry for your
+If ACPI has been disabled on your system due to a blacklist entry for your
BIOS, you can set this to 0 to re-enable ACPI for testing.
.It Va hw.acpi.ec.poll_timeout
Delay in milliseconds to wait for the EC to respond.
diff --git a/share/man/man4/pcm.4 b/share/man/man4/pcm.4
index fedee2e..d89beb1 100644
--- a/share/man/man4/pcm.4
+++ b/share/man/man4/pcm.4
@@ -25,7 +25,7 @@
.\"
.\" $FreeBSD$
.\"
-.Dd November 14, 2003
+.Dd June 24, 2004
.Dt PCM 4
.Os
.Sh NAME
diff --git a/share/man/man5/make.conf.5 b/share/man/man5/make.conf.5
index 8d35a37..2cd394d 100644
--- a/share/man/man5/make.conf.5
+++ b/share/man/man5/make.conf.5
@@ -106,7 +106,7 @@ upgrades from older versions of
.It Va CFLAGS
.Pq Vt str
Controls the compiler setting when compiling C code.
-Optimization levels others than
+Optimization levels other than
.Fl O
and
.Fl O2
@@ -509,7 +509,7 @@ and related programs.
.Pq Vt bool
Set to not build
.Xr acpiconf 8 ,
-.Xr acpidump 8
+.Xr acpidump 8
and related programs.
.It Va NO_VINUM
.Pq Vt bool
diff --git a/share/man/man5/nsswitch.conf.5 b/share/man/man5/nsswitch.conf.5
index 1af28d8..ad5db67 100644
--- a/share/man/man5/nsswitch.conf.5
+++ b/share/man/man5/nsswitch.conf.5
@@ -32,7 +32,7 @@
.\" TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE
.\" USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
.\"
-.Dd January 22, 1998
+.Dd June 21, 2004
.Dt NSSWITCH.CONF 5
.Os
.Sh NAME
diff --git a/share/man/man8/rc.8 b/share/man/man8/rc.8
index a70404b..c1ab2c8 100644
--- a/share/man/man8/rc.8
+++ b/share/man/man8/rc.8
@@ -564,7 +564,7 @@ is unnecessary, but is often included.
.It Pa /var/run/dmesg.boot
.Xr dmesg 1
results soon after the
-.Nm
+.Nm
process begins.
Useful when dmesg buffer in the kernel no longer has this information.
.El
diff --git a/share/man/man9/sema.9 b/share/man/man9/sema.9
index 1617e6e..0207900 100644
--- a/share/man/man9/sema.9
+++ b/share/man/man9/sema.9
@@ -100,7 +100,9 @@ specifies the minimum time in ticks to wait before returning with failure.
.Fn sema_value
is used to read the current value of the semaphore.
.Sh RETURN VALUES
+The
.Fn sema_value
+function
returns the current value of the semaphore.
.Pp
If decrementing the semaphore would result in its value being negative,
@@ -108,12 +110,15 @@ If decrementing the semaphore would result in its value being negative,
returns 0 to indicate failure.
Otherwise, a non-zero value is returned to indicate success.
.Pp
+The
.Fn sema_timedwait
+function
returns 0 if waiting on the semaphore succeeded; otherwise a
non-zero error code is returned.
.Sh ERRORS
+The
.Fn sema_timedwait
-will fail if:
+function will fail if:
.Bl -tag -width Er
.It Bq Er EWOULDBLOCK
Timeout expired.
OpenPOWER on IntegriCloud