blob: d2105433718ed9ff86b0341a73546ffee4d85028 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
# Copyright(c) 1986 Association of Universities for Research in Astronomy Inc.
define DECIMAL 10
# LTOC -- Convert long integer to decimal string.
# Returns the number of characters generated.
int procedure ltoc (lval, outstr, maxch)
long lval # long integer to be encoded
char outstr[ARB] # output buffer
int maxch # size of output buffer
int gltoc()
begin
return (gltoc (lval, outstr, maxch, DECIMAL))
end
|