aboutsummaryrefslogtreecommitdiff
path: root/unix/boot/spp/rpp/ratlibr/putint.r
blob: 0fed044b90be017e624e3b08a71dbb0e33c8055a (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
include	defs

# putint - output integer in specified field

   subroutine putint (n, w, fd)
   integer n, w
   filedes fd

   character chars (MAXCHARS)

   integer junk
   integer itoc

   junk = itoc (n, chars, MAXCHARS)
   call putstr (chars, w, fd)

   return
   end