home *** CD-ROM | disk | FTP | other *** search
- .bp 1
- .in 0
- .he 'PUTDEC (2)'11/13/78'PUTDEC (2)'
- .fo ''-#-''
- .fi
- .in 7
- .ti -7
- NAME
- .br
- putdec - write integer n in field width >=w
- .sp 1
- .ti -7
- SYNOPSIS
- .br
- .nf
- call putdec(n, w)
-
- integer n, w
- .fi
- .sp 1
- .ti -7
- DESCRIPTION
- .br
- This routine writes onto the standard output the number 'n'
- as a string of at
- least 'w' characters, including a sign if 'n' is negative.
- If fewer than 'w' characters are needed, blanks are inserted to
- the left to make up the count; if more than 'w' are needed, more
- are provided.
- .sp 1
- .ti -7
- SEE ALSO
- .br
- itoc, putint
- .sp 1
- .ti -7
- DIAGNOSTICS
- .br
- None