%!PS-Adobe-1.0 %%Creator: devps (Pipeline Associates, Inc.) %%CreationDate: Fri Sep 13 13:05:51 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 %%EndProlog %%Page: 1 1 BP /slant 0 def /height 0 def 480 V 10 R 720(READ)S 1003(\()S 1045(2)S 1103(\))S 2696(Eighth)S (Edition)296 2989 A 4844(READ)S 5127(\()S 5169(2)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(read)S 10 R-1 1279(-)S 10 R 1361(read)S (input)206 1560 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 1728 V 1080(ssize_t)S 1398(read\(int)S 10 I 1784(d)S 10 B 1834(,)S 1897(void)S 2119(*)S 10 I 2169(buf)S 10 B 2297(,)S 2360(size_t)S 10 I 2639(nbytes)S 10 B 2896(\))S 1896 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 2016 V 10 B 1080(Read)S 10 R 1342(attempts)S 1721(to)S 1838(read)S 10 I 2051(nbytes)S 10 R 2347(of)S 2470(data)S 2677(from)S 2912(the)S 3074(object)S 3359(referenced)S 3825(by)S 3964(the)S 4126(descriptor)S 10 I 4568(d)S 10 R 4657(into)S 4852(the)S 5014(buffer)S 2136 V 1080(pointed)S 1406(to)S 1509(by)S 10 I 1634(buf)S 10 R 1770(.)S 2304 V 1080(On)S 1232(objects)S 1547(capable)S 1885(of)S 1999(seeking,)S 2361(the)S 10 B 2514(read)S 10 R 2740(starts)S 2983(at)S 3086(a)S (position)323 3161 A 3514(given)S 3767(by)S 3897(the)S 4050(pointer)S 4365(associated)S 4809(with)S 10 I 5018(d)S 10 R 5098(\(see)S 2424 V 10 B 1080(lseek)S 10 R 1293(\(2\)\).)S (Upon)223 1520 A 1768(return)S 2034(from)S 10 B 2255(read)S 10 R 2451(,)S 2501(the)S 2649(pointer)S 2959(is)S 3051(incremented)S 3574(by)S 3699(the)S 3847(number)S 4179(of)S 4288(bytes)S 4525(actually)S 4869(read.)S 2592 V 1080(Objects)S 1415(that)S 1593(are)S 1744(not)S 1899(capable)S 2235(of)S 2347(seeking)S 2682(always)S 2990(read)S 3192(from)S 3416(the)S 3567(current)S (position.)348 3881 A 4282(The)S 4467(value)S 4713(of)S 4825(the)S 4976(pointer)S 2712 V 1080(associated)S 1519(with)S 1723(such)S 1932(an)S 2052(object)S 2323(is)S (unde\256ned.)421 2415 A 2880 V (Upon)223 1080 A (successful)414 1338 A 1787(completion,)S 10 B 2299(read)S 10 R 2530(return)S 2806(the)S 2964(number)S 3306(of)S 3425(bytes)S 3672(actually)S 4026(read)S 4236(and)S (placed)263 4417 A 4716(in)S 4830(the)S 4989(buffer.)S 3000 V 1080(The)S 1268(system)S 1578(guarantees)S 2040(to)S 2149(read)S 2354(the)S 2508(number)S 2846(of)S 2960(bytes)S 3202(requested)S 3618(if)S 3710(the)S 3863(descriptor)S 4296(references)S 4742(a)S 4817(normal)S 5132(\256le)S 3120 V 1080(that)S 1256(has)S 1415(that)S 1591(many)S 1839(bytes)S 2076(left)S 2236(before)S 2519(the)S 2667(end-of-\256le,)S 3143(but)S 3296(in)S 3399(no)S 3524(other)S 3756(case.)S 3288 V 1080(If)S 1173(the)S 1321(returned)S 1682(value)S 1925(is)S 2017(0,)S 2117(then)S 2315(end-of-\256le)S 2766(has)S 2925(been)S (reached.)339 3140 A 3456 V 9 R 720(R)S 722(RE)S 784(ET)S 842(TU)S 900(UR)S 968(RN)S 1030(N)S 1121(V)S 1123(VA)S 1191(AL)S 1259(LU)S 1317(UE)S 1385(E)S 3576 V 10 R 1080(If)S (successful,)439 1176 A 1643(the)S 1794(number)S 2129(of)S 2241(bytes)S 2482(actually)S 2830(read)S 3033(is)S 3129(returned.)S 3544(Otherwise,)S 4013(a)S 10 R-1 4087(-)S 10 R 4144(1)S 4223(is)S 4319(returned)S 4684(and)S 4858(the)S 5010(global)S 3696 V 1080(variable)S 10 B (errno)241 1430 A 10 R 1696(is)S 1788(set)S 1925(to)S 2028(indicate)S 2372(the)S 2520(error.)S 3864 V 9 R 720(E)S 722(ER)S 780(RR)S 842(RO)S 904(OR)S 972(RS)S 1034(S)S 3984 V 10 B 1080(Read)S 10 R (will)157 1329 A 1511(fail)S 1671(if)S 1758(one)S 1928(or)S 2037(more)S 2269(of)S 2378(the)S 2526(following)S 2942(are)S 3091(true:)S 4152 V 1080([EBADF])S 10 I 1830(D)S 10 R 1928(is)S 2020(not)S 2173(a)S 2243(valid)S 2469(descriptor)S 2897(open)S 3117(for)S 3260(reading.)S 4320 V 1080([EFAULT])S 10 I 1830(Buf)S 10 R 1995(points)S 2265(outside)S 2580(the)S 2728(allocated)S 3117(address)S (space.)249 3444 A 4488 V 1080([EIO])S 1830(An)S 1978(I/O)S 2138(error)S 2360(occurred)S 2738(while)S 2987(reading)S 3314(from)S 3535(the)S 3683(\256le)S 3837(system.)S 4656 V 1080([EINTR])S 1830(A)S 1929(read)S 2129(from)S 2351(a)S 2422(slow)S 2638(device)S 2927(was)S 3110(interrupted)S 3578(before)S 3863(any)S 4035(data)S 4230(arrived)S 4543(by)S 4670(the)S 4820(delivery)S 5177(of)S 4776 V 1830(a)S 1900(signal.)S 4944 V ([EAGAIN])456 1080 A 1830(The)S 2012(\256le)S 2166(was)S 2348(marked)S 2675(for)S (non-blocking)535 2818 A 3378(I/O,)S 3563(and)S 3733(no)S 3858(data)S 4051(were)S 4273(ready)S 4522(to)S 4625(be)S 4745(read.)S 5112 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 5232 V 10 B (dup)168 1080 A 10 R 1248(\(2\),)S 10 B 1416(fcntl)S 10 R 1613(\(2\),)S 10 B 1781(open)S 10 R 1988(\(2\),)S 10 B 2156(pipe)S 10 R 2341(\(2\),)S 10 B 2509(write)S 10 R 2734(\(2\).)S 7903 V 720(Page)S 941(1)S 2669(\()S 2711(May)S 2920(23,)S (1986)200 3070 A 3278(\))S 4455(September)S 4911(13,)S (1996)200 5061 A 8143 V EP %%Trailer %%DocumentFonts: Times-Roman Times-Bold Times-Italic %%Pages: 1