%!PS-Adobe-1.0 %%Creator: devps (Pipeline Associates, Inc.) %%CreationDate: Fri Sep 13 13:06:52 1996 %%Pages: (atend) %%DocumentFonts: (atend) /devps 180 dict def devps begin /res 10.000000 def /y_offset 843 def /X{exch}bind def /mm {transform round X round X itransform} bind def /r{rmoveto}bind def /m{moveto}bind def /l{lineto}bind def /rl{rlineto}bind def /st{stroke}bind def /gs{gsave}bind def /gr{grestore}bind def /cp{currentpoint}bind def /np{newpath}bind def /ct{curveto}bind def systemdict /setpacking known { /savepacking currentpacking def true setpacking } if /m0{0 0 moveto}bind def /xc{//res div}bind def /yc{//res neg div //y_offset add}bind def /lc{yc X xc X l st}bind def /mc{yc X xc X m}bind def /el{gs /a X def a div 1 X scale cp np a xc 2 div 0 360 arc st gr}bind def /ar{cp 7 2 roll np xc 5 1 roll atan 3 1 roll atan X arc st}bind def /sp{yc X xc X 6 2 roll yc X xc X 6 2 roll yc X xc X 6 2 roll ct}bind def /V{//res neg div //y_offset add currentpoint pop X m}bind def /H{//res div 0 transform X round X itransform pop currentpoint X pop moveto}bind def /h{//res div 0 r}bind def /v{//res neg div 0 X r}bind def /S{X H show}bind def /A{H //res div 1 index stringwidth pop sub 1 index length div 0 3 2 roll ashow}bind def /psize 10 def /height 0 def /cheight { height 0 ne { height } { psize } ifelse } bind def /slant 0 def /FF{findfont X dup 30 div 0 mm pop setlinewidth /psize X def [psize 0 cheight slant sin slant cos div mul cheight 0 0] makefont setfont}bind def /shade{gs /dy X def /dx X def np m 0 /dy rl /dx 0 rl 0 /dy neg rl /dx neg 0 rl closepath .9 setgray fill gr}bind def 1 setlinecap /resolution res 72 mul def /startFig { /SavedState save def userdict maxlength dict begin currentpoint transform DocumentInitState setmiterlimit setgray setdash setlinejoin setlinecap setlinewidth setmatrix itransform moveto /ury exch def /urx exch def /lly exch def /llx exch def /y exch 72 mul resolution div def /x exch 72 mul resolution div def currentpoint /cy exch def /cx exch def /sx x urx llx sub div def /sy y ury lly sub div def sx sy scale cx sx div llx sub cy sy div ury sub translate /DefFigCTM matrix currentmatrix def /initmatrix { DefFigCTM setmatrix } def /defaultmatrix { DefFigCTM exch copy } def /initgraphics { DocumentInitState setmiterlimit setgray setdash setlinejoin setlinecap setlinewidth setmatrix DefFigCTM setmatrix } def /showpage { initgraphics } def }bind def /clipFig { currentpoint 6 2 roll newpath 4 copy 4 2 roll moveto 6 -1 roll exch lineto exch lineto exch lineto closepath clip newpath moveto }bind def /doclip { llx lly urx ury clipFig } def /endFig { end SavedState restore }bind def /globalstart { fontnum psize slant height resolution currentpoint pagesave restore gsave }bind def /globalend { grestore moveto /resolution exch def /height exch def /slant exch def /psize exch def /fontnum exch def F /pagesave save def }bind def /fontnum 1 def systemdict /setpacking known { savepacking setpacking} if end /BP{ save mark devps begin m0 /DocumentInitState [ matrix currentmatrix currentlinewidth currentlinecap currentlinejoin currentdash currentgray currentmiterlimit ] cvx def }bind def /EP{ end cleartomark restore showpage}def /Encoding-1 256 array def 0 1 255 {Encoding-1 exch /.notdef put} for Encoding-1 8#301 StandardEncoding 8#101 26 getinterval putinterval %A-B Encoding-1 8#341 StandardEncoding 8#141 26 getinterval putinterval %a-b Encoding-1 8#241 StandardEncoding 8#301 16 getinterval putinterval %accents Encoding-1 8#373 StandardEncoding 8#365 1 getinterval putinterval %dotlessi Encoding-1 dup 8#41 /copyright put dup 8#42 /registered put dup 8#43 /trademark put dup 8#44 /logicalnot put dup 8#45 /Eth put dup 8#46 /eth put dup 8#47 /Thorn put dup 8#50 /thorn put dup 8#51 /brokenbar put dup 8#52 /degree put dup 8#53 /divide put dup 8#54 /multiply put dup 8#55 /minus put dup 8#56 /onehalf put dup 8#57 /onequarter put dup 8#60 /threequarters put dup 8#101 /Aacute put dup 8#102 /Acircumflex put dup 8#103 /Adieresis put dup 8#104 /Agrave put dup 8#105 /Aring put dup 8#106 /Atilde put dup 8#107 /Ccedilla put dup 8#110 /Eacute put dup 8#111 /Ecircumflex put dup 8#112 /Edieresis put dup 8#113 /Egrave put dup 8#114 /Iacute put dup 8#115 /Icircumflex put dup 8#116 /Idieresis put dup 8#117 /Igrave put dup 8#120 /Ntilde put dup 8#121 /Oacute put dup 8#122 /Ocircumflex put dup 8#123 /Odieresis put dup 8#124 /Ograve put dup 8#125 /Otilde put dup 8#126 /Scaron put dup 8#127 /Uacute put dup 8#130 /Ucircumflex put dup 8#131 /Udieresis put dup 8#132 /Ugrave put dup 8#133 /Ydieresis put dup 8#134 /Zcaron put dup 8#135 /aacute put dup 8#136 /acircumflex put dup 8#137 /adieresis put dup 8#140 /agrave put dup 8#141 /aring put dup 8#142 /atilde put dup 8#143 /ccedilla put dup 8#144 /eacute put dup 8#145 /ecircumflex put dup 8#146 /edieresis put dup 8#147 /egrave put dup 8#150 /iacute put dup 8#151 /icircumflex put dup 8#152 /idieresis put dup 8#153 /igrave put dup 8#154 /ntilde put dup 8#155 /oacute put dup 8#156 /ocircumflex put dup 8#157 /odieresis put dup 8#160 /ograve put dup 8#161 /otilde put dup 8#162 /scaron put dup 8#163 /uacute put dup 8#164 /ucircumflex put dup 8#165 /udieresis put dup 8#166 /ugrave put dup 8#167 /ydieresis put dup 8#170 /zcaron put pop /Enc-dict 30 dict def Enc-dict /tmpstr1 50 string put Enc-dict /tmpstr2 50 string put Enc-dict /tmpstr3 50 string dup (Encoding-) exch cvs pop put /AEnc-def { % arguments: the original font's name, encoding nr Enc-dict begin tmpstr2 cvs /Enc-no exch def % Remember the number in a string dup /OrigName exch def % remember the name findfont dup maxlength dict /newdict exch def % get dictionary for new font { exch dup /FID ne { exch newdict 3 1 roll put } { pop pop } % Ignore FID ifelse } forall newdict begin /Encoding tmpstr3 9 Enc-no putinterval tmpstr3 0 9 Enc-no length add getinterval cvn load def % Replace encoding currentdict /UniqueID known { /UniqueID UniqueID Enc-no cvi 49999 mul add def } if % Derive New UniqueID end % newdict /FNlength OrigName tmpstr1 cvs length def % convert name, remember length FNlength 1 add Enc-no length add string dup 0 OrigName tmpstr1 cvs putinterval dup FNlength (-) putinterval dup FNlength 1 add Enc-no putinterval dup 0 tmpstr1 0 FNlength getinterval putinterval % Add old name cvn dup newdict /FontName 3 2 roll put newdict definefont end % Enc-dict } def /Times-Roman 1 AEnc-def pop /R-1{/Times-Roman-1 FF}def /R{/Times-Roman FF}def /B{/Times-Bold FF}def /I{/Times-Italic FF}def %% Troff special characters not on Symbol font %% Copyright (C) 1986 by Pipeline Associates, Inc. %% Version 1.0 %% $Header: Troff.pro,v 1.7 90/08/14 16:07:55 keie Exp $ /altRTD 20 dict def altRTD begin /s{setcachedevice}bind def /m{moveto}bind def /c{curveto}bind def /S{stroke}bind def /l{lineto}bind def end /F_Troff 17 dict def F_Troff begin systemdict /currentpacking known {/SavePacking currentpacking def true setpacking}if /PaintType 0 def /FontType 3 def /StrokeWidth 25 def /UniqueID 8277030 def /FontMatrix [.001000 0 0 .001000 0 0] def /FontBBox [-85 -150 1000 1000 ] def /Encoding 256 array def /CD 256 1 add dict def /FontInfo 3 dict def FontInfo begin /UnderlinePosition -133 def /UnderlineThickness 20 def end /FontName (Troff) def 0 1 256 1 sub{Encoding exch /.notdef put}for CD /.notdef{500 0 setcharwidth{}}put Encoding (1) 0 get /br put %% bold vertical rule used by tbl CD /br{ 0 0 -500 -500 1000 1000 s np clw 0 -100 m 0 900 l {S} }put Encoding (2) 0 get /ul put %% underline used by tbl CD /ul{ 500 0 0 -200 500 0 s np clw 0 -100 m 500 -100 l {S} }put Encoding (3) 0 get /ru put %% baseline rule CD /ru{ 500 0 -500 -500 1000 1000 s np clw m0 500 0 l {S} }put Encoding (4) 0 get /vr put %% vertical rule CD /vr{ 0 0 -500 -500 1000 1000 s np clw m0 0 1000 l {S} }put Encoding (5) 0 get /sq put %% square CD /sq{ 500 0 0 0 500 1000 s np m0 0 500 rl 500 0 rl 0 -500 rl -500 0 rl closepath 61 61 m 378 0 rl 0 378 rl -378 0 rl closepath {fill} }put Encoding (6) 0 get /bx put %% solid box CD /bx{ 500 0 0 0 500 1000 s np m0 0 500 rl 500 0 rl 0 -500 rl closepath {fill} }put Encoding (7) 0 get /rn put %% radical extender CD /rn{ 500 0 -500 -500 1000 1000 s np 30 setlinewidth -30 900 m 500 0 rl {S} }put Encoding 120 /rc put %% top of right bracket above braceex CD /rc { 494 0 -85 -80 255 926 s 201 -80 m 201 872 l -85 872 l -85 926 l 255 926 l 255 -80 l closepath {fill} } put Encoding 121 /lc put %% top of left bracket above braceex CD /lc { 491 0 201 -80 541 926 s 201 -80 m 201 926 l 541 926 l 541 872 l 255 872 l 255 -80 l closepath {fill} } put Encoding 122 /rf put %% bottom of right bracket below braceex CD /rf { 494 0 -85 -80 255 926 s -85 -80 m -85 -26 l 201 -26 l 201 926 l 255 926 l 255 -80 l closepath {fill} } put Encoding 123 /lf put %% bottom of left bracket below braceex CD /lf { 494 0 201 -80 541 926 s 201 -80 m 201 926 l 255 926 l 255 -26 l 872 -26 l 872 -80 l closepath {fill} } put Encoding 97 /a put CD /a{5 setlinewidth 1000 0 0 66 942 421 s 430 415 m 578 406 678 349 662 319 c 655 306 614 287 583 296 c 570 300 466 340 438 332 c 365 309 335 213 270 209 c 0 310 m 108 310 l 108 114 l 0 114 l 0 310 l 42 161 m 42 134 l 66 134 l 66 161 l 42 161 l 47 155 m 47 140 l 62 140 l 62 155 l 47 155 l 110 133 m 226 113 300 66 410 80 c 497 91 550 69 634 76 c 645 76 663 92 669 107 c 677 125 673 141 668 160 c 725 334 m 758 332 734 253 701 250 c 501 325 m 475 316 476 309 473 302 c 465 282 482 263 499 257 c 552 236 615 253 689 253 c 701 253 713 236 713 218 c 712 194 702 168 678 161 c 671 159 663 160 655 160 c 591 158 516 156 479 168 c 461 173 453 191 453 210 c 453 224 456 235 466 244 c 476 253 490 252 503 255 c 459 84 m 447 96 435 106 435 123 c 435 136 440 145 447 155 c 453 163 462 168 469 173 c 110 293 m 173 318 300 421 435 415 c 609 407 852 416 885 411 c 898 409 924 411 930 380 c 942 316 828 339 742 334 c 731 334 730 335 725 335 c 701 336 685 336 660 336 c{S}}put Encoding 98 /b put CD /b{5 setlinewidth 1000 0 -12 66 930 421 s 500 415 m 352 406 252 349 268 319 c 275 306 316 287 347 296 c 360 300 464 340 492 332 c 565 309 595 213 660 209 c 930 310 m 822 310 l 822 114 l 930 114 l 930 310 l 888 161 m 888 134 l 864 134 l 864 161 l 888 161 l 883 155 m 883 140 l 868 140 l 868 155 l 883 155 l 820 133 m 704 113 630 66 520 80 c 433 91 380 69 296 76 c 285 76 267 92 261 107 c 253 125 257 141 262 160 c 205 334 m 172 332 196 253 229 250 c 429 325 m 455 316 454 309 457 302 c 465 282 448 263 431 257 c 378 236 315 253 241 253 c 229 253 217 236 217 218 c 218 194 228 168 252 161 c 259 159 267 160 275 160 c 339 158 414 156 451 168 c 469 173 477 191 477 210 c 477 224 474 235 464 244 c 454 253 440 252 427 255 c 471 84 m 483 96 495 106 495 123 c 495 136 490 145 483 155 c 477 163 468 168 461 173 c 820 293 m 757 318 630 421 495 415 c 321 407 78 416 45 411 c 32 409 6 411 0 380 c -12 316 102 339 188 334 c 199 334 200 335 205 335 c 229 336 245 336 270 336 c{S}}put Encoding 99 /c put CD /c{710 0 0 0 700 700 s 33 setlinewidth 335 23 m 335 325 302 -90 270 arc {S}}put Encoding 100 /d put CD /d{590 0 134 158 477 500 s 300 160 m 208 162 134 238 135 330 c 136 423 212 500 305 500 c 397 500 473 427 475 335 c 477 239 396 158 300 160 c{fill}}put Encoding 101 /e put CD /e { % produces the VU symbol 760 0 0 0 750 750 s 267 267 scale 0 setlinejoin .045 setlinewidth 0 setlinecap 3 setmiterlimit newpath 0 0 moveto 0 2.8 rlineto 0.38 0 rlineto 0 -2.3 rlineto 0.02 0 rlineto 0.67 2.3 rlineto 0.38 0 rlineto -0.83 -2.8 rlineto closepath 1.61 2.8 moveto 0.38 0 rlineto -0.687 -2.32 rlineto -.03 -.1 -0.03 -0.1 0 -0.1 rcurveto 1.027 0 rlineto 0 2.42 rlineto 0.38 0 rlineto currentpoint pop 0 % x 0 2.0 0 0.28 arcto 4 {pop} repeat 0.78 0 1.61 2.8 0.15 arcto 4 {pop} repeat closepath {S}} put /BuildChar{altRTD /BuildChar get exec}def end altRTD begin /BuildChar{altRTD begin /char exch def /fontdict exch def save /charname fontdict /Encoding get char get def /clw { 37 0 mm pop setlinewidth}bind def fontdict /StrokeWidth get setlinewidth 0 setlinecap 0 setlinejoin fontdict /CD get dup charname known {charname}{/.notdef}ifelse get newpath exec fontdict /PaintType get 0 eq{exec}{pop S}ifelse restore end}def end systemdict /currentpacking known{F_Troff /SavePacking get setpacking}if /Troff F_Troff definefont pop /Y1{/Troff FF}def /Times-Bold 1 AEnc-def pop /B-1{/Times-Bold-1 FF}def /Y{/Symbol FF}def %%EndProlog %%Page: 1 1 BP /slant 0 def /height 0 def 480 V 10 R 720(PRINTF)S 1076(\()S 1118(3)S 1176(\))S 2696(Eighth)S (Edition)296 2989 A 4771(PRINTF)S 5127(\()S 5169(3)S 5227(\))S 960 V 9 R 720(N)S 722(NA)S 790(AM)S 858(ME)S 940(E)S 1080 V 10 R 1080(printf,)S 1354(fprintf,)S 1662(sprintf,)S 1975(snprintf,)S 2338(vprintf,)S 2662(vfprintf,)S 3020(vsprintf,)S 3383(vsnprintf)S 10 R-1 3771(-)S 10 R 3853(formatted)S 4270(output)S (conversion)441 4551 A 1248 V 9 R 720(S)S 722(SY)S 774(YN)S 842(NO)S 910(OP)S 978(PS)S 1030(SI)S 1082(IS)S 1115(S)S 1368 V 10 B 1080(#include)S 1482()S 1488 V 1080(#include)S 1482()S 1608 V 1080(#include)S 1482()S 1848 V 1080(int)S (printf\(const)511 1236 A 1785(char)S 2019(*)S 10 I 2069(format)S 10 R 2375([)S 10 B 2409(,)S 10 I 2472(arg)S 10 R 2611(])S (...)75 2683 A 10 B 2758(\);)S 1968 V 1080(int)S (fprintf\(FILE)556 1236 A 1830(*)S 10 I 1880(stream)S 10 B 2154(,)S 2217(const)S 2479(char)S 2713(*)S 10 I 2763(format)S 10 R 3069([)S 10 B 3103(,)S 10 I 3166(arg)S 10 R 3305(])S (...)75 3377 A 10 B 3452(\);)S 2088 V 1080(int)S (sprintf\(char)522 1236 A 1796(*)S 10 I 1846(s)S 10 B 1885(,)S 1948(const)S 2210(char)S 2444(*)S 10 I 2494(format)S 10 R 2800([)S 10 B 2834(,)S 10 I 2897(arg)S 10 R 3036(])S (...)75 3108 A 10 B 3183(\);)S 2208 V 1080(int)S (snprintf\(char)578 1236 A 1852(*)S 10 I 1902(s)S 10 B 1941(,)S 2004(size_t)S 10 I 2283(n)S 10 B 2333(,)S 2396(const)S 2658(char)S 2892(*)S 10 I 2942(format)S 10 R 3248([)S 10 B 3282(,)S 10 I 3345(arg)S 10 R 3484(])S (...)75 3556 A 10 B 3631(\);)S 2328 V 1080(int)S (vprintf\(const)561 1236 A 1835(char)S 2069(*)S 10 I 2119(format)S 10 B 2387(,)S (va_list)279 2450 A 10 I 2767(args)S 10 B 2945(\);)S 2448 V 1080(int)S (vfprintf\(FILE)606 1236 A 1880(*)S 10 I 1930(stream)S 10 B 2204(,)S 2267(const)S 2529(char)S 2763(*)S 10 I 2813(format)S 10 B 3081(,)S (va_list)279 3144 A 10 I 3461(args)S 10 B 3639(\);)S 2568 V 1080(int)S (vsprintf\(char)572 1236 A 1846(*)S 10 I 1896(s)S 10 B 1935(,)S 1998(const)S 2260(char)S 2494(*)S 10 I 2544(format)S 10 B 2812(,)S (va_list)279 2875 A 10 I 3192(args)S 10 B 3370(\);)S 2688 V 1080(int)S (vsnprintf\(char)628 1236 A 1902(*)S 10 I 1952(s)S 10 B 1991(,)S 2054(size_t)S 10 I 2333(n)S 10 B 2383(,)S 2446(const)S 2708(char)S 2942(*)S 10 I 2992(format)S 10 B 3260(,)S (va_list)279 3323 A 10 I 3640(args)S 10 B 3818(\);)S 2856 V 9 R 720(D)S 722(DE)S 790(ES)S 848(SC)S 900(CR)S 962(RI)S 1024(IP)S 1057(PT)S 1109(TI)S 1167(IO)S 1200(ON)S 1268(N)S 2976 V 10 B 1080(Printf)S 10 R (places)252 1368 A 1649(output)S 1934(on)S 2063(the)S 2215(standard)S 2585(output)S 2870(stream)S 10 B 3168(stdout)S 10 R 3437(.)S 10 B 3516(Fprintf)S 10 R (places)252 3860 A 4141(output)S 4426(on)S 4555(the)S 4707(named)S 5005(output)S 3096 V 10 I 1080(stream)S 10 R 1362(.)S 10 B 1445(Sprintf)S 10 R (places)252 1787 A 2072(`output')S 2429(in)S 2540(the)S 2696(string)S 10 I 2958(s)S 10 R 3005(,)S 3063(followed)S 3454(by)S 3587(the)S 3742(character)S 4145(`\\0'.)S 10 B (Snprintf)365 4373 A 10 R 4770(\(Minix-vmd)S 3216 V 1080(only\))S 1317(is)S 1409(like)S 10 B 1585(sprintf)S 10 R 1902(except)S 2190(that)S 2366(no)S 2491(more)S 2723(than)S 10 I 2921(n)S 10 R-1 2979(-)S 10 R 3036(1)S 3111(characters)S 3546(are)S (written)286 3695 A 4006(to)S 10 I 4109(s)S 10 R 4173(followed)S 4556(by)S 4681(a)S 4751(`\\0'.)S 3384 V 1080(The)S 10 B 1265(v*printf)S 10 R 1646(functions)S 2048(can)S 2216(be)S 2339(used)S 2551(to)S 2657(make)S 2903(functions)S 3305(like)S 3484(the)S 3635(\256rst)S 3820(four)S 4016(by)S 4144(using)S 4389(the)S 10 B 4540(stdarg)S 10 R 4814(\(3\))S (method)301 4960 A 3504 V 1080(to)S 1183(process)S 1510(the)S 1658(argument.)S 3672 V 1080(Each)S 1315(of)S 1432(these)S 1672(functions)S (converts,)366 2079 A 2479(formats,)S 2846(and)S 3025(prints)S 3288(its)S 3417(arguments)S 3870(after)S 4090(the)S 4247(\256rst)S (under)229 4438 A 4701(control)S 5020(of)S 5138(the)S 3792 V 1080(\256rst)S 1265(argument.)S 1723(The)S 1908(\256rst)S 2093(argument)S 2501(is)S 2596(a)S 2668(character)S 3066(string)S 3322(which)S 3595(contains)S 3957(two)S 4135(types)S 4374(of)S 4485(objects:)S 4825(plain)S 5053(char-)S 3912 V 1080(acters,)S 1382(which)S 1669(are)S 1834(simply)S 2148(copied)S 2458(to)S 2578(the)S 2743(output)S 3041(stream,)S 3377(and)S (conversion)441 3564 A 4047(speci\256cations,)S (each)185 4662 A 4889(of)S 5015(which)S 4032 V 1080(causes)S (conversion)441 1368 A 1834(and)S 2004(printing)S 2347(of)S 2456(the)S 2604(next)S (successive)425 2802 A 10 I 3252(arg)S 10 R 3399(.)S 4200 V 1080(Each)S (conversion)441 1326 A 1811(speci\256cation)S 2364(is)S (introduced)430 2475 A 2949(by)S 3093(the)S 3260(character)S 10 B 3675(%)S 10 R 3775(.)S 3869(The)S 4070(remainder)S 4523(of)S 4652(the)S (conversion)441 4820 A 4320 V 1080(speci\256cation)S 1614(includes)S 1974(in)S 2077(the)S 2225(following)S 2641(order)S 4488 V 10 Y1 1080(d)S 10 R 1440(Zero)S 1656(or)S 1765(more)S 1997(of)S 2106(following)S 2522(\257ags:)S 4656 V 10 Y1 1440(d)S 10 R 1800(a)S 1874(`#')S 2021(character)S 2421(specifying)S 2869(that)S 3049(the)S 3201(value)S (should)267 3448 A 3744(be)S (converted)397 3868 A 4294(to)S 4401(an)S 4526(``alternate)S 4972(form''.)S 4776 V 1800(For)S 10 B 1967(c)S 10 R 2012(,)S 10 B 2064(d)S 10 R 2120(,)S 10 B 2172(s)S 10 R 2211(,)S 2263(and)S 10 B 2435(u)S 10 R (conversions,)505 2518 A 3050(this)S 3222(option)S 3505(has)S 3666(no)S 3793(effect.)S 4101(For)S 10 B 4268(o)S 10 R (conversions,)505 4345 A 4876(the)S 5025(preci-)S 4896 V 1800(sion)S 2003(of)S 2123(the)S 2282(number)S 2625(is)S 2728(increased)S 3145(to)S 3259(force)S 3503(the)S 3662(\256rst)S 3855(character)S 4262(of)S 4382(the)S 4542(output)S 4835(string)S 5101(to)S 5216(a)S 5016 V 1800(zero.)S 2060(For)S 10 B 2236(x)S 10 R 2286(\()S 10 B 2320(X)S 10 R 2393(\))S (conversion,)466 2463 A 2964(a)S (non-zero)358 3044 A 3437(result)S 3696(has)S 3865(the)S 4023(string)S 10 B 4287(0x)S 10 R 4387(\()S 10 B 4421(0X)S 10 R 4544(\))S 4613(prepended)S 5067(to)S 5180(it.)S 5136 V 1800(For)S 10 B 1967(e)S 10 R 2012(,)S 10 B 2064(E)S 10 R 2131(,)S 10 B 2183(f)S 10 R 2217(,)S 10 B 2269(g)S 10 R 2319(,)S 2371(and)S 10 B 2543(G)S 10 R (conversions,)505 2648 A 3180(the)S 3330(result)S (will)157 3581 A 3765(always)S 4072(contain)S 4395(a)S 4467(decimal)S 4813(point,)S 5071(even)S 5256 V 1800(if)S 1893(no)S 2024(digits)S 2278(follow)S 2572(the)S 2726(point)S 2963(\(normally,)S 3416(a)S 3492(decimal)S 3841(point)S 4077(only)S 4285(appears)S 4623(in)S 4731(the)S 4884(results)S 5177(of)S 5376 V 1800(those)S (conversions)480 2052 A 2572(if)S 2674(a)S 2759(digit)S 2983(follows)S 3325(the)S 3488(decimal)S 3848(point\).)S 4179(For)S 10 B 4360(g)S 10 R 4451(and)S 10 B 4637(G)S 10 R (conversions,)505 4756 A 5496 V (trailing)291 1800 A 2116(zeros)S 2354(are)S 2503(not)S 2656(removed)S 3033(from)S 3254(the)S 3402(result)S 3651(as)S 3760(they)S 3958(would)S 4234(otherwise)S 4651(be.)S 5664 V 10 Y1 1440(d)S 10 R 1800(a)S 1880(minus)S 2161(sign)S 2364(`)S 10 R-1 2398(-)S 10 R 2455(')S 2525(which)S 2807(speci\256es)S 10 I 3190(left)S 3355(adjustment)S 10 R 3832(of)S 3952(the)S (converted)397 4111 A 4544(value)S 4798(in)S 4912(the)S 5071(indi-)S 5784 V 1800(cated)S 2038(\256eld;)S 5952 V 10 Y1 1440(d)S 10 R 1800(a)S 1895(`+')S 2070(character)S 2491(specifying)S 2960(that)S 3161(there)S (should)267 3413 A 3730(always)S 4060(be)S 4205(a)S 4300(sign)S (placed)263 4517 A 4830(before)S 5138(the)S 6072 V 1800(number)S 2132(when)S 2375(using)S 2617(signed)S (conversions.)505 2904 A 6240 V 10 Y1 1440(d)S 10 R 1800(a)S (space)224 1889 A 2157(specifying)S 2620(that)S 2815(a)S 2904(blank)S (should)267 3171 A 3482(be)S 3621(left)S 3801(before)S 4104(a)S (positive)318 4194 A 4557(number)S 4909(during)S 5216(a)S 6360 V 1800(signed)S (conversion.)466 2087 A 2603(A)S 2701(`+')S 2851(overrides)S 3251(a)S (space)224 3321 A 3570(if)S 3657(both)S 3860(are)S 4009(used.)S 6528 V 10 Y1 1080(d)S 10 R 1440(an)S 1571(optional)S 1936(digit)S 2156(string)S 2422(specifying)S 2878(a)S 10 I 2960(\256eld)S 3170(width;)S 10 R 3464(if)S 3563(the)S (converted)397 3723 A 4157(value)S 4412(has)S 4583(fewer)S 4851(characters)S 6648 V 1440(than)S 1640(the)S 1790(\256eld)S 1995(width)S 2250(it)S (will)157 2332 A 2515(be)S 2636(blank-padded)S 3209(on)S 3335(the)S 3484(left)S 3645(\(or)S 3789(right,)S 4030(if)S 4118(the)S 4267(left-adjustment)S 4903(indicator)S 6768 V 1440(has)S 1602(been)S 1820(given\))S 2105(to)S 2211(make)S 2457(up)S 2585(the)S 2736(\256eld)S 2943(width;)S 3228(if)S 3318(the)S 3469(\256eld)S 3676(width)S 3933(begins)S 4223(with)S 4430(a)S 4503(zero,)S 4730(zero-padding)S 6888 V (will)157 1440 A 1622(be)S (done)195 1742 A 1962(instead)S 2272(of)S 2381(blank-padding;)S 7056 V 10 Y1 1080(d)S 10 R 1440(an)S 1560(optional)S 1914(period)S 2196(`)S 10 B 2230(.)S 10 R 2255(')S 2339(which)S 2610(serves)S 2887(to)S 2990(separate)S 3346(the)S 3494(\256eld)S 3698(width)S 3952(from)S 4173(the)S 4321(next)S 4519(digit)S 4728(string;)S 7224 V 10 Y1 1080(d)S 10 R 1440(an)S 1568(optional)S 1930(digit)S 2147(string)S 2409(specifying)S 2861(a)S 10 I 2939(precision)S 10 R 3346(which)S 3626(speci\256es)S 4007(the)S 4164(number)S 4505(of)S 4623(digits)S 4880(to)S 4992(appear)S 7344 V 1440(after)S 1660(the)S 1817(decimal)S 2170(point,)S 2434(for)S 2585(e-)S 2697(and)S (f-conversion,)534 2875 A 3442(or)S 3559(the)S 3715(maximum)S 4155(number)S 4495(of)S 4612(characters)S 5055(to)S 5166(be)S 7464 V 1440(printed)S 1750(from)S 1971(a)S 2041(string;)S 7903 V 720(Page)S 941(1)S 2694(\()S 2736(June)S 2945(5,)S (1986)200 3045 A 3253(\))S 4455(September)S 4911(13,)S (1996)200 5061 A 8143 V EP %%Page: 2 2 BP /slant 0 def /height 0 def 480 V 10 R 720(PRINTF)S 1076(\()S 1118(3)S 1176(\))S 2696(Eighth)S (Edition)296 2989 A 4771(PRINTF)S 5127(\()S 5169(3)S 5227(\))S 960 V 10 Y1 1080(d)S 10 R 1440(the)S 1588(character)S 10 B 1984(l)S 10 R 2037(specifying)S 2481(that)S 2657(a)S 2727(following)S 10 B 3143(d)S 10 R 3199(,)S 10 B 3249(o)S 10 R 3299(,)S 10 B 3349(x)S 10 R 3399(,)S 3449(or)S 10 B 3558(u)S 10 R (corresponds)486 3639 A 4150(to)S 4253(a)S (long)178 4323 A 4526(integer)S 10 I 4831(arg)S 10 R 4978(.)S 1128 V 10 Y1 1080(d)S 10 R 1440(a)S 1510(character)S 1906(which)S 2177(indicates)S 2560(the)S 2708(type)S 2906(of)S (conversion)441 3015 A 3481(to)S 3584(be)S 3704(applied.)S 1296 V 1080(A)S 1183(\256eld)S 1392(width)S 1651(or)S 1765(precision)S 2164(may)S 2368(be)S 2494(`*')S 2643(instead)S 2959(of)S 3074(a)S 3150(digit)S 3365(string.)S 3675(In)S 3790(this)S 3966(case)S 4171(an)S 4297(integer)S 10 I 4608(arg)S 10 R (supplies)329 4778 A 5138(the)S 1416 V 1080(\256eld)S 1284(width)S 1538(or)S 1647(precision.)S 1584 V 1080(The)S (conversion)441 1262 A 1728(characters)S 2163(and)S 2333(their)S 2543(meanings)S 2953(are)S 1752 V 10 B 1080(dox)S 10 R 1440(The)S 1622(integer)S 10 I 1927(arg)S 10 R 2091(is)S (converted)397 2183 A 2605(to)S 2708(decimal,)S 3077(octal,)S 3323(or)S 3432(hexadecimal)S 3966(notation)S 4320(respectively.)S 1920 V 10 B 1080(X)S 10 R 1440(Like)S 10 B 1650(x)S 10 R 1700(,)S 1750(but)S 1903(use)S (upper)229 2062 A 2316(case)S 2515(instead)S 2825(of)S 2934(lower)S 3189(case.)S 2088 V 10 B 1080(f)S 10 R 1440(The)S 1631(\257oat)S 1844(or)S (double)273 1962 A 10 I 2269(arg)S 10 R 2442(is)S (converted)397 2544 A 2976(to)S 3089(decimal)S 3443(notation)S 3807(in)S 3920(the)S 4078(style)S 4303(`[)S 10 B-1 4371(-)S 10 R (]ddd.ddd')393 4428 A 4856(where)S 5138(the)S 2208 V 1440(number)S 1778(of)S 1893(d's)S 2047(after)S 2264(the)S 2418(decimal)S 2768(point)S 3005(is)S 3103(equal)S 3352(to)S 3461(the)S 3615(precision)S 4015(speci\256cation)S 4555(for)S 4703(the)S 4856(argument.)S 2328 V 1440(If)S 1539(the)S 1693(precision)S 2093(is)S 2191(missing,)S 2559(6)S 2640(digits)S 2894(are)S 3049(given;)S 3331(if)S 3424(the)S 3578(precision)S 3979(is)S (explicitly)380 4078 A 4490(0,)S 4597(no)S 4729(digits)S 4984(and)S 5161(no)S 2448 V 1440(decimal)S 1784(point)S 2015(are)S 2164(printed.)S 2616 V 10 B 1080(e)S 10 R 1440(The)S 1622(\257oat)S 1826(or)S (double)273 1935 A 10 I 2234(arg)S 10 R 2399(is)S (converted)397 2492 A 2915(in)S 3019(the)S 3168(style)S 3384(`[)S 10 B-1 3452(-)S 10 R 3509(]d)S 10 B 3593(.)S 10 R (ddd)150 3618 A 10 B 3768(e)S 10 Y 3813(\261)S 10 R 3868(dd')S 4028(where)S 4301(there)S 4529(is)S 4622(one)S 4793(digit)S 5003(before)S 2736 V 1440(the)S 1590(decimal)S 1936(point)S 2169(and)S 2341(the)S 2491(number)S 2825(after)S 3038(is)S 3132(equal)S 3377(to)S 3481(the)S 3630(precision)S 4025(speci\256cation)S 4560(for)S 4704(the)S 4853(argument;)S 2856 V 1440(when)S 1683(the)S 1831(precision)S 2225(is)S 2317(missing,)S 2679(6)S 2754(digits)S 3002(are)S (produced.)399 3151 A 3024 V 10 B 1080(g)S 10 R 1440(The)S 1623(\257oat)S 1828(or)S (double)273 1938 A 10 I 2237(arg)S 10 R 2402(is)S 2495(printed)S 2806(in)S 2910(style)S 10 B 3126(d)S 10 R 3182(,)S 3234(in)S 3339(style)S 10 B 3556(f)S 10 R 3590(,)S 3642(or)S 3753(in)S 3858(style)S 10 B 4075(e)S 10 R 4120(,)S 4172(whichever)S 4619(gives)S 4858(full)S 5025(preci-)S 3144 V 1440(sion)S 1632(in)S 1735(minimum)S (space.)249 2150 A 3312 V 10 B 1080(c)S 10 R 1440(The)S 1622(character)S 10 I 2018(arg)S 10 R 2182(is)S 2274(printed.)S 3480 V 10 B 1080(s)S 10 I 1440(Arg)S 10 R 1618(is)S 1712(taken)S 1957(to)S 2063(be)S 2186(a)S 2259(string)S 2516(\(character)S 2949(pointer\))S 3296(and)S 3469(characters)S 3907(from)S 4131(the)S 4282(string)S 4539(are)S 4691(printed)S (until)184 5004 A 5216(a)S 3600 V 1440(null)S 1640(character)S 2055(or)S (until)184 2183 A 2411(the)S 2578(number)S 2929(of)S 3056(characters)S 3509(indicated)S 3921(by)S 4064(the)S 4230(precision)S 4642(speci\256cation)S 5194(is)S 3720 V (reached;)342 1440 A 1807(however)S 2179(if)S 2266(the)S 2414(precision)S 2808(is)S 2900(0)S 2975(or)S 3084(missing)S 3421(all)S 3547(characters)S 3982(up)S 4107(to)S 4210(a)S 4280(null)S 4461(are)S 4610(printed.)S 3888 V 10 B 1080(u)S 10 R 1440(The)S 1622(unsigned)S 2009(integer)S 10 I 2314(arg)S 10 R 2478(is)S (converted)397 2570 A 2992(to)S 3095(decimal)S 3439(and)S 3609(printed.)S 4056 V 10 B 1080(%)S 10 R 1440(Print)S 1661(a)S 1731(`%';)S 1936(no)S 2061(argument)S 2466(is)S (converted.)422 2558 A 4224 V 1080(In)S 1191(no)S 1318(case)S 1519(does)S 1730(a)S (non-existent)497 1802 A 2326(or)S 2438(small)S 2684(\256eld)S 2891(width)S 3148(cause)S 3400(truncation)S 3836(of)S 3948(a)S 4021(\256eld;)S 4256(padding)S 4607(takes)S (place)213 4842 A 5083(only)S 4344 V 1080(if)S 1181(the)S 1343(speci\256ed)S 1740(\256eld)S 1958(width)S (exceeds)319 2226 A 2584(the)S 2746(actual)S 3026(width.)S 3344(Characters)S 3815(generated)S 4246(by)S 10 B 4385(printf)S 10 R 4676(are)S 4838(printed)S 5161(by)S 4464 V 10 B 1080(putc)S 10 R 1271(\(3\).)S 4632 V 10 B 1080(Examples)S 4752 V 10 R 1080(To)S 1220(print)S 1438(a)S 1511(date)S 1707(and)S 1880(time)S 2087(in)S 2193(the)S 2344(form)S (`Sunday,)360 2568 A 2956(July)S 3151(3,)S 3255(10:02',)S 3571(where)S 10 I (weekday)347 3847 A 10 R 4223(and)S 10 I 4397(month)S 10 R 4677(are)S 4830(pointers)S 5183(to)S 4872 V 1080(null-terminated)S 1726(strings:)S 5040 V 1440(printf\("%s,)S 1912(%s)S 2060(%d,)S (%02d:%02d",)562 2244 A 2831(weekday,)S 3239(month,)S 3545(day,)S (hour,)209 3740 A 3974(min\);)S 5208 V 1080(To)S 1217(print)S 10 Y 1432(p)S 10 R 1512(to)S 1615(5)S 1690(decimals:)S 5376 V 1440(printf\("pi)S 1842(=)S 1924(%.5f",)S 2208(4*atan\(1.0\)\);)S 5544 V 9 R 720(S)S 722(SE)S 774(EE)S 832(E)S 913(A)S 915(AL)S 983(LS)S 1041(SO)S 1093(O)S 5664 V 10 B 1080(putc)S 10 R 1271(\(3\),)S 10 B 1439(scanf)S 10 R 1663(\(3\),)S 10 B 1831(ecvt)S 10 R 2005(\(3\),)S 10 B 2173(stdarg)S 10 R 2447(\(3\).)S 7903 V 720(September)S 1176(13,)S (1996)200 1326 A 2694(\()S 2736(June)S 2945(5,)S (1986)200 3045 A 3253(\))S 4990(Page)S 5211(2)S 8143 V EP %%Trailer %%DocumentFonts: Times-Roman Times-Bold Times-Italic Symbol Troff %%Pages: 2