diff options
Diffstat (limited to 'lib/libc/locale')
-rw-r--r-- | lib/libc/locale/euc.4 | 14 | ||||
-rw-r--r-- | lib/libc/locale/euc.5 | 14 | ||||
-rw-r--r-- | lib/libc/locale/isalnum.3 | 2 | ||||
-rw-r--r-- | lib/libc/locale/isalpha.3 | 2 | ||||
-rw-r--r-- | lib/libc/locale/iscntrl.3 | 2 | ||||
-rw-r--r-- | lib/libc/locale/isdigit.3 | 2 | ||||
-rw-r--r-- | lib/libc/locale/isgraph.3 | 2 | ||||
-rw-r--r-- | lib/libc/locale/islower.3 | 2 | ||||
-rw-r--r-- | lib/libc/locale/isprint.3 | 2 | ||||
-rw-r--r-- | lib/libc/locale/ispunct.3 | 2 | ||||
-rw-r--r-- | lib/libc/locale/isspace.3 | 2 | ||||
-rw-r--r-- | lib/libc/locale/isupper.3 | 2 | ||||
-rw-r--r-- | lib/libc/locale/isxdigit.3 | 2 | ||||
-rw-r--r-- | lib/libc/locale/rune.3 | 2 | ||||
-rw-r--r-- | lib/libc/locale/utf2.4 | 4 | ||||
-rw-r--r-- | lib/libc/locale/utf2.5 | 4 |
16 files changed, 30 insertions, 30 deletions
diff --git a/lib/libc/locale/euc.4 b/lib/libc/locale/euc.4 index a75cf74..58b07f96 100644 --- a/lib/libc/locale/euc.4 +++ b/lib/libc/locale/euc.4 @@ -89,7 +89,7 @@ as follows: .Bd -literal byte0 << ((\fIlen\fPN-1) * 8) | byte1 << ((\fIlen\fPN-2) * 8) | ... | byte\fIlen\fPN-1 .Ed -.sp +.Pp The result is then ANDed with .Ar ~mask and ORed with @@ -98,23 +98,23 @@ Codesets 2 and 3 are special in that the leading byte (0x8e or 0x8f) is first removed and the .Ar lenN argument is reduced by 1. -.sp +.Pp For example, the Japanese locale has the following .Ev VARIABLE line: .Bd -literal VARIABLE 1 0x0000 2 0x8080 2 0x0080 3 0x8000 0x8080 .Ed -.sp +.Pp Codeset 1 consists of the values 0x0000 - 0x007f. -.sp +.Pp Codeset 2 consists of the values who have the bits 0x8080 set. -.sp +.Pp Codeset 3 consists of the values 0x0080 - 0x00ff. -.sp +.Pp Codeset 4 consists of the values 0x8000 - 0xff7f excluding the values which have the 0x0080 bit set. -.sp +.Pp Notice that the global .Ar mask is set to 0x8080, this implies that from those 2 bits the codeset can diff --git a/lib/libc/locale/euc.5 b/lib/libc/locale/euc.5 index a75cf74..58b07f96 100644 --- a/lib/libc/locale/euc.5 +++ b/lib/libc/locale/euc.5 @@ -89,7 +89,7 @@ as follows: .Bd -literal byte0 << ((\fIlen\fPN-1) * 8) | byte1 << ((\fIlen\fPN-2) * 8) | ... | byte\fIlen\fPN-1 .Ed -.sp +.Pp The result is then ANDed with .Ar ~mask and ORed with @@ -98,23 +98,23 @@ Codesets 2 and 3 are special in that the leading byte (0x8e or 0x8f) is first removed and the .Ar lenN argument is reduced by 1. -.sp +.Pp For example, the Japanese locale has the following .Ev VARIABLE line: .Bd -literal VARIABLE 1 0x0000 2 0x8080 2 0x0080 3 0x8000 0x8080 .Ed -.sp +.Pp Codeset 1 consists of the values 0x0000 - 0x007f. -.sp +.Pp Codeset 2 consists of the values who have the bits 0x8080 set. -.sp +.Pp Codeset 3 consists of the values 0x0080 - 0x00ff. -.sp +.Pp Codeset 4 consists of the values 0x8000 - 0xff7f excluding the values which have the 0x0080 bit set. -.sp +.Pp Notice that the global .Ar mask is set to 0x8080, this implies that from those 2 bits the codeset can diff --git a/lib/libc/locale/isalnum.3 b/lib/libc/locale/isalnum.3 index ad92c41..96f62a5 100644 --- a/lib/libc/locale/isalnum.3 +++ b/lib/libc/locale/isalnum.3 @@ -54,7 +54,7 @@ or .Xr isdigit 3 is true. In the ASCII character set, this includes the following characters: -.sp +.Pp .Bl -column \&000_``0''__ \&000_``0''__ \&000_``0''__ \&000_``0''__ \&000_``0''__ .It \&060\ ``0'' \t061\ ``1'' \t062\ ``2'' \t063\ ``3'' \t064\ ``4'' .It \&065\ ``5'' \t066\ ``6'' \t067\ ``7'' \t070\ ``8'' \t071\ ``9'' diff --git a/lib/libc/locale/isalpha.3 b/lib/libc/locale/isalpha.3 index a36dd4b..aab3ebc 100644 --- a/lib/libc/locale/isalpha.3 +++ b/lib/libc/locale/isalpha.3 @@ -54,7 +54,7 @@ or .Xr islower 3 is true. In the ASCII character set, this includes the following characters: -.sp +.Pp .Bl -column \&000_``0''__ \&000_``0''__ \&000_``0''__ \&000_``0''__ \&000_``0''__ .It \&101\ ``A'' \t102\ ``B'' \t103\ ``C'' \t104\ ``D'' \t105\ ``E'' .It \&106\ ``F'' \t107\ ``G'' \t110\ ``H'' \t111\ ``I'' \t112\ ``J'' diff --git a/lib/libc/locale/iscntrl.3 b/lib/libc/locale/iscntrl.3 index 33859a2..46d6bb0 100644 --- a/lib/libc/locale/iscntrl.3 +++ b/lib/libc/locale/iscntrl.3 @@ -50,7 +50,7 @@ The .Fn iscntrl function tests for any control character. In the ASCII character set, this includes the following characters: -.sp +.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 diff --git a/lib/libc/locale/isdigit.3 b/lib/libc/locale/isdigit.3 index aa70c30..ca2039d 100644 --- a/lib/libc/locale/isdigit.3 +++ b/lib/libc/locale/isdigit.3 @@ -50,7 +50,7 @@ The .Fn isdigit function tests for any decimal-digit character. In the ASCII character set, this includes the following characters: -.sp +.Pp .Bl -column \&000_``0''__ \&000_``0''__ \&000_``0''__ \&000_``0''__ \&000_``0''__ .It \&060\ ``0'' \t061\ ``1'' \t062\ ``2'' \t063\ ``3'' \t064\ ``4'' .It \&065\ ``5'' \t066\ ``6'' \t067\ ``7'' \t070\ ``8'' \t071\ ``9'' diff --git a/lib/libc/locale/isgraph.3 b/lib/libc/locale/isgraph.3 index e8b1ee5..aa61812 100644 --- a/lib/libc/locale/isgraph.3 +++ b/lib/libc/locale/isgraph.3 @@ -50,7 +50,7 @@ The .Fn isgraph function tests for any printing character except space. In the ASCII character set, this includes the following characters: -.sp +.Pp .Bl -column \&000_``0''__ \&000_``0''__ \&000_``0''__ \&000_``0''__ \&000_``0''__ .It \&041\ ``!'' \t042\ ``"'' \t043\ ``#'' \t044\ ``$'' \t045\ ``%'' .It \&046\ ``&'' \t047\ ``''' \t050\ ``('' \t051\ ``)'' \t052\ ``*'' diff --git a/lib/libc/locale/islower.3 b/lib/libc/locale/islower.3 index e985498..f960c50 100644 --- a/lib/libc/locale/islower.3 +++ b/lib/libc/locale/islower.3 @@ -50,7 +50,7 @@ The .Fn islower function tests for any lower-case letters. In the ASCII character set, this includes the following characters: -.sp +.Pp .Bl -column \&000_``0''__ \&000_``0''__ \&000_``0''__ \&000_``0''__ \&000_``0''__ .It \&141\ ``a'' \t142\ ``b'' \t143\ ``c'' \t144\ ``d'' \t145\ ``e'' .It \&146\ ``f'' \t147\ ``g'' \t150\ ``h'' \t151\ ``i'' \t152\ ``j'' diff --git a/lib/libc/locale/isprint.3 b/lib/libc/locale/isprint.3 index dc04d50..d327298 100644 --- a/lib/libc/locale/isprint.3 +++ b/lib/libc/locale/isprint.3 @@ -50,7 +50,7 @@ The .Fn isprint function tests for any printing character including space (' '). In the ASCII character set, this includes the following characters: -.sp +.Pp .Bl -column \&000_``0''__ \&000_``0''__ \&000_``0''__ \&000_``0''__ \&000_``0''__ .It \&040\ sp \t041\ ``!'' \t042\ ``"'' \t043\ ``#'' \t044\ ``$'' .It \&045\ ``%'' \t046\ ``&'' \t047\ ``''' \t050\ ``('' \t051\ ``)'' diff --git a/lib/libc/locale/ispunct.3 b/lib/libc/locale/ispunct.3 index d5b3722..0bdff1a 100644 --- a/lib/libc/locale/ispunct.3 +++ b/lib/libc/locale/ispunct.3 @@ -53,7 +53,7 @@ character for which .Xr isalnum 3 is true. In the ASCII character set, this includes the following characters: -.sp +.Pp .Bl -column \&000_``0''__ \&000_``0''__ \&000_``0''__ \&000_``0''__ \&000_``0''__ .It \&041\ ``!'' \t042\ ``"'' \t043\ ``#'' \t044\ ``$'' \t045\ ``%'' .It \&046\ ``&'' \t047\ ``''' \t050\ ``('' \t051\ ``)'' \t052\ ``*'' diff --git a/lib/libc/locale/isspace.3 b/lib/libc/locale/isspace.3 index fb077e4..e2598f5 100644 --- a/lib/libc/locale/isspace.3 +++ b/lib/libc/locale/isspace.3 @@ -50,7 +50,7 @@ The .Fn isspace function tests for the standard white-space characters. In the ASCII character set, this includes the following characters: -.sp +.Pp .Bl -column \&000_``0''__ \&000_``0''__ \&000_``0''__ \&000_``0''__ \&000_``0''__ .It \&011\ ht \t012\ nl \t013\ vt \t014\ np \t015\ cr .It \&040\ sp diff --git a/lib/libc/locale/isupper.3 b/lib/libc/locale/isupper.3 index f8fb413..2521363 100644 --- a/lib/libc/locale/isupper.3 +++ b/lib/libc/locale/isupper.3 @@ -50,7 +50,7 @@ The .Fn isupper function tests for any upper-case letter. In the ASCII character set, this includes the following characters: -.sp +.Pp .Bl -column \&000_``0''__ \&000_``0''__ \&000_``0''__ \&000_``0''__ \&000_``0''__ .It \&101\ ``A'' \t102\ ``B'' \t103\ ``C'' \t104\ ``D'' \t105\ ``E'' .It \&106\ ``F'' \t107\ ``G'' \t110\ ``H'' \t111\ ``I'' \t112\ ``J'' diff --git a/lib/libc/locale/isxdigit.3 b/lib/libc/locale/isxdigit.3 index ec1a502..641891f 100644 --- a/lib/libc/locale/isxdigit.3 +++ b/lib/libc/locale/isxdigit.3 @@ -50,7 +50,7 @@ The .Fn isxdigit function tests for any hexadecimal-digit character. In the ASCII character set, this includes the following characters: -.sp +.Pp .Bl -column \&000_``0''__ \&000_``0''__ \&000_``0''__ \&000_``0''__ \&000_``0''__ .It \&060\ ``0'' \t061\ ``1'' \t062\ ``2'' \t063\ ``3'' \t064\ ``4'' .It \&065\ ``5'' \t066\ ``6'' \t067\ ``7'' \t070\ ``8'' \t071\ ``9'' diff --git a/lib/libc/locale/rune.3 b/lib/libc/locale/rune.3 index 89acde6..c900159 100644 --- a/lib/libc/locale/rune.3 +++ b/lib/libc/locale/rune.3 @@ -54,7 +54,7 @@ .Fn sgetrune "const char *string" "size_t n" "char const **result" .Ft int .Fn sputrune "rune_t rune" "char *string" "size_t n" "char **result" -.sp +.Pp .Fd #include <stdio.h> .Ft long .Fn fgetrune "FILE *stream" diff --git a/lib/libc/locale/utf2.4 b/lib/libc/locale/utf2.4 index e2cf8cc..b8c1e0c 100644 --- a/lib/libc/locale/utf2.4 +++ b/lib/libc/locale/utf2.4 @@ -62,7 +62,7 @@ encoding is represented by the following table: [0x0080 - 0x03ff] [00000bbb.bbbbbbbb] -> 110bbbbb, 10bbbbbb [0x0400 - 0xffff] [bbbbbbbb.bbbbbbbb] -> 1110bbbb, 10bbbbbb, 10bbbbbb .Ed -.sp +.Pp If more than a single representation of a value exists (for example, 0x00; 0xC0 0x80; 0xE0 0x80 0x80) the shortest representation is always used (but the longer ones will be correctly decoded). @@ -78,7 +78,7 @@ The final three encodings provided by X-Open: [0bbbbbbb.bbbbbbbb.bbbbbbbb.bbbbbbbb] -> 1111110b, 10bbbbbb, 10bbbbbb, 10bbbbbb, 10bbbbbb, 10bbbbbb .Ed -.sp +.Pp which provides for the entire proposed ISO-10646 31 bit standard are currently not implemented. .Sh "SEE ALSO" diff --git a/lib/libc/locale/utf2.5 b/lib/libc/locale/utf2.5 index e2cf8cc..b8c1e0c 100644 --- a/lib/libc/locale/utf2.5 +++ b/lib/libc/locale/utf2.5 @@ -62,7 +62,7 @@ encoding is represented by the following table: [0x0080 - 0x03ff] [00000bbb.bbbbbbbb] -> 110bbbbb, 10bbbbbb [0x0400 - 0xffff] [bbbbbbbb.bbbbbbbb] -> 1110bbbb, 10bbbbbb, 10bbbbbb .Ed -.sp +.Pp If more than a single representation of a value exists (for example, 0x00; 0xC0 0x80; 0xE0 0x80 0x80) the shortest representation is always used (but the longer ones will be correctly decoded). @@ -78,7 +78,7 @@ The final three encodings provided by X-Open: [0bbbbbbb.bbbbbbbb.bbbbbbbb.bbbbbbbb] -> 1111110b, 10bbbbbb, 10bbbbbb, 10bbbbbb, 10bbbbbb, 10bbbbbb .Ed -.sp +.Pp which provides for the entire proposed ISO-10646 31 bit standard are currently not implemented. .Sh "SEE ALSO" |