summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorru <ru@FreeBSD.org>2002-12-05 08:50:00 +0000
committerru <ru@FreeBSD.org>2002-12-05 08:50:00 +0000
commit4b97577172adf196656c5d76ced169bbe94af331 (patch)
tree761b6857bed4b6636e0890ce4cc63da15d22da9c /lib
parent942d317f3bbb91821afde1eb9e8e32df496f9de7 (diff)
downloadFreeBSD-src-4b97577172adf196656c5d76ced169bbe94af331.zip
FreeBSD-src-4b97577172adf196656c5d76ced169bbe94af331.tar.gz
Capitalize ASCII code names.
Approved by: re
Diffstat (limited to 'lib')
-rw-r--r--lib/libc/gen/uname.34
-rw-r--r--lib/libc/locale/iscntrl.314
-rw-r--r--lib/libstand/libstand.37
3 files changed, 15 insertions, 10 deletions
diff --git a/lib/libc/gen/uname.3 b/lib/libc/gen/uname.3
index 946f1e0..330347d 100644
--- a/lib/libc/gen/uname.3
+++ b/lib/libc/gen/uname.3
@@ -47,7 +47,9 @@
.Sh DESCRIPTION
The
.Fn uname
-function stores nul-terminated strings of information identifying
+function stores
+.Dv NUL Ns -terminated
+strings of information identifying
the current system into the structure referenced by
.Fa name .
.Pp
diff --git a/lib/libc/locale/iscntrl.3 b/lib/libc/locale/iscntrl.3
index 194b955..417820b 100644
--- a/lib/libc/locale/iscntrl.3
+++ b/lib/libc/locale/iscntrl.3
@@ -65,13 +65,13 @@ In the ASCII character set, this includes the following characters
(with their numeric values shown in octal):
.Pp
.Bl -column \&000_``0''__ \&000_``0''__ \&000_``0''__ \&000_``0''__ \&000_``0''__
-.It "\&000\ nul \t001\ soh \t002\ stx \t003\ etx \t004\ eot"
-.It "\&005\ enq \t006\ ack \t007\ bel \t010\ bs \t011\ ht"
-.It "\&012\ nl \t013\ vt \t014\ np \t015\ cr \t016\ so"
-.It "\&017\ si \t020\ dle \t021\ dc1 \t022\ dc2 \t023\ dc3"
-.It "\&024\ dc4 \t025\ nak \t026\ syn \t027\ etb \t030\ can"
-.It "\&031\ em \t032\ sub \t033\ esc \t034\ fs \t035\ gs"
-.It "\&036\ rs \t037\ us \t177\ del"
+.It "\&000\ NUL \t001\ SOH \t002\ STX \t003\ ETX \t004\ EOT"
+.It "\&005\ ENQ \t006\ ACK \t007\ BEL \t010\ BS \t011\ HT"
+.It "\&012\ NL \t013\ VT \t014\ NP \t015\ CR \t016\ SO"
+.It "\&017\ SI \t020\ DLE \t021\ DC1 \t022\ DC2 \t023\ DC3"
+.It "\&024\ DC4 \t025\ NAK \t026\ SYN \t027\ ETB \t030\ CAN"
+.It "\&031\ EM \t032\ SUB \t033\ ESC \t034\ FS \t035\ GS"
+.It "\&036\ RS \t037\ US \t177\ DEL"
.El
.Sh RETURN VALUES
The
diff --git a/lib/libstand/libstand.3 b/lib/libstand/libstand.3
index d10d144..1fd2c20 100644
--- a/lib/libstand/libstand.3
+++ b/lib/libstand/libstand.3
@@ -224,7 +224,8 @@ Read a line of at most
.Fa size
characters into
.Fa buf .
-Line terminating characters are stripped, and the buffer is always nul
+Line terminating characters are stripped, and the buffer is always
+.Dv NUL
terminated. Returns the number of characters in
.Fa buf
if successful, or -1 if a read error occurs.
@@ -429,7 +430,9 @@ Closes the pager.
.Fn pager_output "char *lines"
.Xc
.Pp
-Sends the lines in the nul-terminated buffer at
+Sends the lines in the
+.Dv NUL Ns
+-terminated buffer at
.Fa lines
to the pager. Newline characters are counted in order to determine the number
of lines being output (wrapped lines are not accounted for).
OpenPOWER on IntegriCloud