summaryrefslogtreecommitdiff
path: root/src/lib/libc/stdlib/a64l.3
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/libc/stdlib/a64l.3')
-rw-r--r--src/lib/libc/stdlib/a64l.315
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
47functions are used to maintain numbers stored in radix-64 46functions are used to maintain numbers stored in radix-64
48.Tn ASCII 47.Tn ASCII
49characters. This is a notation by which 32-bit integers 48characters.
50can be represented by up to six characters; each character 49This is a notation by which 32-bit integers
51represents a 50can be represented by up to six characters; each character represents a
52.Dq digit 51.Dq digit
53in a radix-64 notation. 52in a radix-64 notation.
54.Pp 53.Pp
@@ -73,14 +72,16 @@ for 38-63.
73The 72The
74.Fn a64l 73.Fn a64l
75function takes a pointer to a null-terminated radix-64 representation 74function takes a pointer to a null-terminated radix-64 representation
76and returns a corresponding 32-bit value. If the string pointed to by 75and returns a corresponding 32-bit value.
76If the string pointed to by
77.Fa s 77.Fa s
78contains more than six characters, 78contains more than six characters,
79.Fn a64l 79.Fn a64l
80will use the first six. 80will use the first six.
81.Fn a64l 81.Fn a64l
82scans the character string from left to right, decoding 82scans the character string from left to right, decoding
83each character as a 6-bit radix-64 number. If a long integer is 83each character as a 6-bit radix-64 number.
84If a long integer is
84larger than 32 bits, the return value will be sign-extended. 85larger than 32 bits, the return value will be sign-extended.
85.Pp 86.Pp
86.Fn l64a 87.Fn l64a