summaryrefslogtreecommitdiffstats
path: root/share/man/man9/alq.9
diff options
context:
space:
mode:
authorru <ru@FreeBSD.org>2004-07-07 07:56:58 +0000
committerru <ru@FreeBSD.org>2004-07-07 07:56:58 +0000
commit5b5605b88b1e0486bc58f3cdb1e7dba39b064944 (patch)
treefa5019aeb61249aec5f1c24deb697481ff275857 /share/man/man9/alq.9
parent2bff8e39d7d3539d40b5193b54d1b9a946f7aa79 (diff)
downloadFreeBSD-src-5b5605b88b1e0486bc58f3cdb1e7dba39b064944.zip
FreeBSD-src-5b5605b88b1e0486bc58f3cdb1e7dba39b064944.tar.gz
Sweep formatting and assorted fixes.
Diffstat (limited to 'share/man/man9/alq.9')
-rw-r--r--share/man/man9/alq.924
1 files changed, 12 insertions, 12 deletions
diff --git a/share/man/man9/alq.9 b/share/man/man9/alq.9
index c42422f..bcea3cc 100644
--- a/share/man/man9/alq.9
+++ b/share/man/man9/alq.9
@@ -68,16 +68,16 @@ The logging facility runs in a separate kernel thread, which services
all log entry requests.
.Pp
An
-.Dq asynchronous log entry ,
+.Dq asynchronous log entry
is defined as
.Vt "struct ale" ,
which has the following members:
-.Bd -literal
- struct ale {
- struct ale *ae_next; /* Next Entry */
- char *ae_data; /* Entry buffer */
- int ae_flags; /* Entry flags */
- };
+.Bd -literal -offset indent
+struct ale {
+ struct ale *ae_next; /* Next Entry */
+ char *ae_data; /* Entry buffer */
+ int ae_flags; /* Entry flags */
+};
.Ed
.Pp
The
@@ -93,7 +93,7 @@ function creates a new logging queue.
.Pp
The
.Fa file
-argument is the name of the file to open for logging,
+argument is the name of the file to open for logging.
The size of each entry in the queue is determined by
.Fa size .
The
@@ -144,9 +144,9 @@ call is made.
In the event that
.Fn alq_get
could not retrieve an entry immediately, it will
-.Xr tsleep 2
+.Xr tsleep 9
with the
-.Dq alqget
+.Dq Li alqget
wait message.
.Pp
The
@@ -205,7 +205,7 @@ was provided as a value to
.Fa waitok
and either the queue is full, or when the system is shutting down.
.Pp
-NOTE, invalid arguments to non-void functions will result in
+NOTE: invalid arguments to non-void functions will result in
undefined behaviour.
.Sh SEE ALSO
.Xr syslog 3 ,
@@ -216,7 +216,7 @@ undefined behaviour.
.Sh HISTORY
The
Asynchronous Logging Queues (ALQ) facility first appeared in
-.Fx 5.0
+.Fx 5.0 .
.Sh AUTHORS
.An -nosplit
The
OpenPOWER on IntegriCloud