a64l.3

来自「<B>Digital的Unix操作系统VAX 4.2源码</B>」· 3 代码 · 共 70 行

3
70
字号
.\" SCCSID: @(#)a64l.3	8.1	9/11/90.TH a64l 3.SH Namea64l, l64a \- convert long integer and base-64 ASCII string.SH Syntax.B long a64l (s).br.B char \(**s;.PP.B char \(**l64a (l).br.B long l;.SH Description.NXR "a64l subroutine".NXR "l64a subroutine".NXR "ASCII string" "converting long integer to"These functions are used to maintain numbers stored in base-64ASCII characters.This is a notation by whichlong integers can be represented by up to six characters; each characterrepresents a ``digit'' in a radix-64 notation..PPThe characters used to represent ``digits''are.B .for 0,.B /for 1,.B 0through.B 9for 2\-11,.B Athrough.B Zfor 12\-37, and.B athrough.B zfor 38\-63..PPThe.PN a64lsubroutinetakes a pointer to a null-terminated base-64 representation and returnsa corresponding.B longvalue.If the string pointed to by.I s\^contains more than six characters,.PN a64lwill use the first six..PPThe.PN l64asubroutine takes a.B longargument and returns a pointerto the corresponding base-64 representation.If the argument is 0,.PN l64areturns a pointer to anull string..SH RestrictionsThe value returned by.PN l64ais a pointer into a static buffer, the contents of which areoverwritten by each call.

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?