diff options
Diffstat (limited to 'src/lib/libc/stdlib/a64l.3')
-rw-r--r-- | src/lib/libc/stdlib/a64l.3 | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/src/lib/libc/stdlib/a64l.3 b/src/lib/libc/stdlib/a64l.3 index 1074dbff2e..787634303c 100644 --- a/src/lib/libc/stdlib/a64l.3 +++ b/src/lib/libc/stdlib/a64l.3 | |||
@@ -1,4 +1,3 @@ | |||
1 | .\" | ||
2 | .\" Copyright (c) 1997 Todd C. Miller <Todd.Miller@courtesan.com> | 1 | .\" Copyright (c) 1997 Todd C. Miller <Todd.Miller@courtesan.com> |
3 | .\" All rights reserved. | 2 | .\" All rights reserved. |
4 | .\" | 3 | .\" |
@@ -24,7 +23,7 @@ | |||
24 | .\" OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF | 23 | .\" OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF |
25 | .\" ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | 24 | .\" ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
26 | .\" | 25 | .\" |
27 | .\" $OpenBSD: a64l.3,v 1.4 1999/06/29 18:36:15 aaron Exp $ | 26 | .\" $OpenBSD: a64l.3,v 1.5 2000/04/20 13:50:01 aaron Exp $ |
28 | .\" | 27 | .\" |
29 | .Dd August 17, 1997 | 28 | .Dd August 17, 1997 |
30 | .Dt A64L 3 | 29 | .Dt A64L 3 |
@@ -46,9 +45,9 @@ and | |||
46 | .Fn l64a | 45 | .Fn l64a |
47 | functions are used to maintain numbers stored in radix-64 | 46 | functions are used to maintain numbers stored in radix-64 |
48 | .Tn ASCII | 47 | .Tn ASCII |
49 | characters. This is a notation by which 32-bit integers | 48 | characters. |
50 | can be represented by up to six characters; each character | 49 | This is a notation by which 32-bit integers |
51 | represents a | 50 | can be represented by up to six characters; each character represents a |
52 | .Dq digit | 51 | .Dq digit |
53 | in a radix-64 notation. | 52 | in a radix-64 notation. |
54 | .Pp | 53 | .Pp |
@@ -73,14 +72,16 @@ for 38-63. | |||
73 | The | 72 | The |
74 | .Fn a64l | 73 | .Fn a64l |
75 | function takes a pointer to a null-terminated radix-64 representation | 74 | function takes a pointer to a null-terminated radix-64 representation |
76 | and returns a corresponding 32-bit value. If the string pointed to by | 75 | and returns a corresponding 32-bit value. |
76 | If the string pointed to by | ||
77 | .Fa s | 77 | .Fa s |
78 | contains more than six characters, | 78 | contains more than six characters, |
79 | .Fn a64l | 79 | .Fn a64l |
80 | will use the first six. | 80 | will use the first six. |
81 | .Fn a64l | 81 | .Fn a64l |
82 | scans the character string from left to right, decoding | 82 | scans the character string from left to right, decoding |
83 | each character as a 6-bit radix-64 number. If a long integer is | 83 | each character as a 6-bit radix-64 number. |
84 | If a long integer is | ||
84 | larger than 32 bits, the return value will be sign-extended. | 85 | larger than 32 bits, the return value will be sign-extended. |
85 | .Pp | 86 | .Pp |
86 | .Fn l64a | 87 | .Fn l64a |