BRK.2
资源名称:os_source.zip [点击查看]
上传用户:datang2001
上传日期:2007-02-01
资源大小:53269k
文件大小:11k
源码类别:
操作系统开发
开发平台:
C/C++
- %!PS-Adobe-1.0
- %%Creator: devps (Pipeline Associates, Inc.)
- %%CreationDate: Fri Sep 13 13:05:33 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
- /Times-Bold 1 AEnc-def pop
- /B-1{/Times-Bold-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(BRK)S
- 935(()S
- 977(2)S
- 1035())S
- 2696(Eighth)S
- (Edition)296 2989 A
- 4912(BRK)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(brk,)S
- 1264(sbrk)S
- 10 R-1
- 1462(-)S
- 10 R
- 1544(change)S
- 1854(data)S
- 2047(segment)S
- 2407(size)S
- 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 R
- 1080(#include)S
- 1464(<unistd.h>)S
- 1536 V
- 10 B
- 1080(char)S
- 1314(*brk(char)S
- 1789(*)S
- 10 I
- (addr)189 1839 A
- 10 B
- 2028())S
- 1704 V
- 1080(char)S
- 1314(*sbrk(int)S
- 10 I
- 1750(incr)S
- 10 B
- 1912())S
- 1872 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
- 1992 V
- 10 B
- 1080(Brk)S
- 10 R
- 1286(sets)S
- 1475(the)S
- 1636(system's)S
- 2026(idea)S
- 2232(of)S
- 2354(the)S
- 2515(lowest)S
- 2816(data)S
- 3022(segment)S
- 3395(location)S
- 3757(not)S
- 3923(used)S
- 4145(by)S
- 4283(the)S
- 4444(program)S
- 4824((called)S
- 5138(the)S
- 2112 V
- 1080(break))S
- 1372(to)S
- 10 I
- (addr)189 1484 A
- 10 R
- 1681(.)S
- 1765(Locations)S
- 2196(greater)S
- 2511(than)S
- 10 I
- (addr)189 2718 A
- 10 R
- 2941(and)S
- 3120(below)S
- 3400(the)S
- 3557(stack)S
- 3798(pointer)S
- 4117(are)S
- 4274(not)S
- 4435(in)S
- 4546(the)S
- 4702(address)S
- (space)224 5037 A
- 2232 V
- 1080(and)S
- (will)157 1250 A
- 1432(thus)S
- 1624(cause)S
- 1873(a)S
- 1943(memory)S
- 2303(violation)S
- 2685(if)S
- (accessed.)378 2772 A
- 2400 V
- 1080(In)S
- 1195(the)S
- 1349(alternate)S
- 1728(function)S
- 10 B
- 2094(sbrk)S
- 10 R
- 2290(,)S
- 10 I
- 2346(incr)S
- 10 R
- 2539(more)S
- 2777(bytes)S
- 3020(are)S
- 3175(added)S
- 3446(to)S
- 3555(the)S
- 3710(program's)S
- 4156(data)S
- (space)224 4356 A
- 4612(and)S
- 4789(a)S
- 4866(pointer)S
- 5183(to)S
- 2520 V
- 1080(the)S
- 1228(start)S
- 1427(of)S
- 1536(the)S
- 1684(new)S
- 1877(area)S
- 2071(is)S
- 2163(returned.)S
- 2688 V
- 1080(When)S
- 1346(a)S
- 1417(program)S
- 1784(begins)S
- 2072(execution)S
- 2489(via)S
- 10 B
- 2638(execve)S
- 10 R
- 2944(the)S
- 3093(break)S
- 3343(is)S
- 3436(set)S
- 3575(at)S
- 3675(the)S
- 3825(highest)S
- 4142(location)S
- 4493(de256ned)S
- 4816(by)S
- 4943(the)S
- 5093(pro-)S
- 2808 V
- 1080(gram)S
- 1316(and)S
- 1490(data)S
- 1687(storage)S
- 2007(areas.)S
- 2294(Ordinarily,)S
- 2768(therefore,)S
- 3187(only)S
- 3393(programs)S
- 3801(with)S
- 4008(growing)S
- 4371(data)S
- 4567(areas)S
- 4803(need)S
- 5021(to)S
- 5127(use)S
- 2928 V
- 10 B
- 1080(sbrk)S
- 10 R
- 1276(.)S
- 3096 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
- 3216 V
- 10 R
- 1080(The)S
- 1272(address)S
- 1609(of)S
- 1729(the)S
- 1888(new)S
- 2092(break)S
- 2352(is)S
- 2455(returned)S
- 2827(if)S
- 10 B
- 2925(brk)S
- 10 R
- (succeeds;)386 3118 A
- 10 B-1
- 3540(-)S
- 10 B
- 3597(1)S
- 10 R
- 3683(if)S
- 3781(the)S
- 3940(program)S
- 4317(requests)S
- 4683(more)S
- 4926(memory)S
- 3336 V
- 1080(than)S
- 1278(the)S
- 1426(system)S
- 1730(limit.)S
- 10 B
- 1995(Sbrk)S
- 10 R
- 2233(returns)S
- 10 B-1
- 2538(-)S
- 10 B
- 2595(1)S
- 10 R
- 2670(if)S
- 2757(the)S
- 2905(break)S
- 3154(could)S
- 3402(not)S
- 3555(be)S
- 3675(set.)S
- 3504 V
- 9 R
- 720(E)S
- 722(ER)S
- 780(RR)S
- 842(RO)S
- 904(OR)S
- 972(RS)S
- 1034(S)S
- 3624 V
- 10 B
- 1080(Sbrk)S
- 10 R
- (will)157 1318 A
- 1500(fail)S
- 1660(and)S
- 1830(no)S
- (additional)402 1955 A
- 2382(memory)S
- (will)157 2742 A
- 2924(be)S
- 3044(allocated)S
- 3433(if)S
- 3520(one)S
- 3690(of)S
- 3799(the)S
- 3947(following)S
- 4363(are)S
- 4512(true:)S
- 3792 V
- 1080([ENOMEM])S
- 1830(The)S
- 2012(maximum)S
- 2444(possible)S
- 2798(size)S
- 2980(of)S
- 3089(a)S
- 3159(data)S
- 3352(segment)S
- 3712((as)S
- 3855(set)S
- 3992(by)S
- 10 B
- 4117(chmem)S
- 10 R
- 4431((1)))S
- 4608(was)S
- (exceeded.)400 4790 A
- 3960 V
- 1080([ENOMEM])S
- 1830(Insuf256cient)S
- 2314(virtual)S
- 2602(memory)S
- (space)224 2962 A
- 3211(existed)S
- 3521(to)S
- (support)301 3624 A
- 3950(the)S
- 4098(expansion.)S
- 4580((Minix-vmd))S
- 4128 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
- 4248 V
- 10 B
- 1080(chmem)S
- 10 R
- 1394((1),)S
- 10 B
- 1562(execve)S
- 10 R
- 1842((2),)S
- 10 B
- 2010(malloc)S
- 10 R
- 2295((3),)S
- 10 B
- 2463(end)S
- 10 R
- 2620((3).)S
- 4416 V
- 9 R
- 720(N)S
- 722(NO)S
- 790(OT)S
- 858(TE)S
- 916(ES)S
- 974(S)S
- 4536 V
- 10 R
- 1080(Minix-vmd)S
- (rounds)273 1562 A
- 1860(a)S
- 1930(small)S
- 2173(data)S
- 2366(segment)S
- 2726(limit)S
- 2941(up)S
- 3066(to)S
- 3169(3)S
- 3244(megabytes.)S
- 4704 V
- 9 R
- 720(B)S
- 722(BU)S
- 784(UG)S
- 852(GS)S
- 920(S)S
- 4824 V
- 10 R
- (Setting)285 1080 A
- 1391(the)S
- 1540(break)S
- 1790(may)S
- 1989(fail)S
- 2150(due)S
- 2321(to)S
- 2425(a)S
- 2496(temporary)S
- 2936(lack)S
- 3130(of)S
- 3241(virtual)S
- 3531(memory)S
- (under)229 3893 A
- 4149(Minix-vmd.)S
- 4683(It)S
- 4772(is)S
- 4866(not)S
- 5021(possi-)S
- 4944 V
- 1080(ble)S
- 1228(to)S
- (distinguish)440 1331 A
- 1796(this)S
- 1966(from)S
- 2187(a)S
- 2257(failure)S
- 2546(caused)S
- 2845(by)S
- (exceeding)408 2970 A
- 3403(the)S
- 3551(maximum)S
- 3983(size)S
- 4165(of)S
- 4274(the)S
- 4422(data)S
- 4615(segment.)S
- 7903 V
- 720(Page)S
- 941(1)S
- 2669(()S
- 2711(May)S
- 2920(22,)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