📄 g_h_b_n.3
字号:
%!PS-Adobe-1.0%%Creator: devps (Pipeline Associates, Inc.)%%CreationDate: Fri Sep 13 13:06:43 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 defsystemdict /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 addcurrentpoint pop Xm}bind def/H{//res div0 transform X round X itransform popcurrentpoint X popmoveto}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 fillgr}bind def1 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} ifend/BP{save mark devps begin m0/DocumentInitState [ matrix currentmatrix currentlinewidth currentlinecapcurrentlinejoin currentdash currentgray currentmiterlimit ] cvx def}bind def/EP{end cleartomark restore showpage}def/Encoding-1 256 array def0 1 255 {Encoding-1 exch /.notdef put} forEncoding-1 8#301 StandardEncoding 8#101 26 getinterval putinterval %A-BEncoding-1 8#341 StandardEncoding 8#141 26 getinterval putinterval %a-bEncoding-1 8#241 StandardEncoding 8#301 16 getinterval putinterval %accentsEncoding-1 8#373 StandardEncoding 8#365 1 getinterval putinterval %dotlessiEncoding-1dup 8#41 /copyright putdup 8#42 /registered putdup 8#43 /trademark putdup 8#44 /logicalnot putdup 8#45 /Eth putdup 8#46 /eth putdup 8#47 /Thorn putdup 8#50 /thorn putdup 8#51 /brokenbar putdup 8#52 /degree putdup 8#53 /divide putdup 8#54 /multiply putdup 8#55 /minus putdup 8#56 /onehalf putdup 8#57 /onequarter putdup 8#60 /threequarters putdup 8#101 /Aacute putdup 8#102 /Acircumflex putdup 8#103 /Adieresis putdup 8#104 /Agrave putdup 8#105 /Aring putdup 8#106 /Atilde putdup 8#107 /Ccedilla putdup 8#110 /Eacute putdup 8#111 /Ecircumflex putdup 8#112 /Edieresis putdup 8#113 /Egrave putdup 8#114 /Iacute putdup 8#115 /Icircumflex putdup 8#116 /Idieresis putdup 8#117 /Igrave putdup 8#120 /Ntilde putdup 8#121 /Oacute putdup 8#122 /Ocircumflex putdup 8#123 /Odieresis putdup 8#124 /Ograve putdup 8#125 /Otilde putdup 8#126 /Scaron putdup 8#127 /Uacute putdup 8#130 /Ucircumflex putdup 8#131 /Udieresis putdup 8#132 /Ugrave putdup 8#133 /Ydieresis putdup 8#134 /Zcaron putdup 8#135 /aacute putdup 8#136 /acircumflex putdup 8#137 /adieresis putdup 8#140 /agrave putdup 8#141 /aring putdup 8#142 /atilde putdup 8#143 /ccedilla putdup 8#144 /eacute putdup 8#145 /ecircumflex putdup 8#146 /edieresis putdup 8#147 /egrave putdup 8#150 /iacute putdup 8#151 /icircumflex putdup 8#152 /idieresis putdup 8#153 /igrave putdup 8#154 /ntilde putdup 8#155 /oacute putdup 8#156 /ocircumflex putdup 8#157 /odieresis putdup 8#160 /ograve putdup 8#161 /otilde putdup 8#162 /scaron putdup 8#163 /uacute putdup 8#164 /ucircumflex putdup 8#165 /udieresis putdup 8#166 /ugrave putdup 8#167 /ydieresis putdup 8#170 /zcaron putpop/Enc-dict 30 dict defEnc-dict /tmpstr1 50 string putEnc-dict /tmpstr2 50 string putEnc-dict /tmpstr3 50 string dup (Encoding-) exch cvs pop put/AEnc-def { % arguments: the original font's name, encoding nrEnc-dict begintmpstr2 cvs /Enc-no exch def % Remember the number in a stringdup /OrigName exch def % remember the namefindfont 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} forallnewdict begin/Encoding tmpstr3 9 Enc-no putinterval tmpstr3 0 9 Enc-no length add getinterval cvn load def % Replace encodingcurrentdict /UniqueID known{ /UniqueID UniqueID Enc-no cvi 49999 mul add def } if % Derive New UniqueIDend % newdict/FNlength OrigName tmpstr1 cvs length def % convert name, remember lengthFNlength 1 add Enc-no length add stringdup 0 OrigName tmpstr1 cvs putintervaldup FNlength (-) putintervaldup FNlength 1 add Enc-no putintervaldup 0 tmpstr1 0 FNlength getinterval putinterval % Add old namecvn dup newdict /FontName 3 2 roll put newdict definefontend % 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 1BP/slant 0 def/height 0 def480 V10 R(GETHOSTBYNAME)898 720 A1626(\()S1668(3)S1726(\))S2696(Eighth)S(Edition)296 2989 A(GETHOSTBYNAME)898 4221 A5127(\()S5169(3)S5227(\))S960 V9 R720(N)S722(NA)S790(AM)S858(ME)S940(E)S1080 V10 R(g_h_b_n,)375 1080 A(gethostbyname,)633 1488 A2154(gethostbyaddr,)S2781(gethostent,)S3252(sethostent,)S(endhostent,)460 3712 A4205(herror)S10 R-14485(-)S10 R4575(get)S4731(network)S5094(host)S1200 V1080(entry)S1368 V9 R720(S)S722(SY)S774(YN)S842(NO)S910(OP)S978(PS)S1030(SI)S1082(IS)S1115(S)S1488 V10 B1080(#include)S1482(<net/gen/netdb.h>)S1656 V1080(extern)S1393(int)S(h_errno;)381 1549 A1824 V1080(struct)S1371(hostent)S1723(*gethostbyname\(name\))S1944 V1080(char)S1314(*name;)S2112 V1080(struct)S1371(hostent)S1723(*gethostbyaddr\(addr,)S2698(len,)S2890(type\))S2232 V1080(char)S1314(*addr;)S1643(int)S1799(len,)S1991(type;)S2400 V1080(struct)S1371(hostent)S(*gethostent\(\))561 1723 A2568 V(sethostent\(stayopen\))880 1080 A2688 V1080(int)S(stayopen;)414 1236 A2856 V(endhostent\(\))539 1080 A3024 V(herror\(string\))606 1080 A3144 V1080(char)S1314(*string;)S3312 V9 R720(D)S722(DE)S790(ES)S848(SC)S900(CR)S962(RI)S1024(IP)S1057(PT)S1109(TI)S1167(IO)S1200(ON)S1268(N)S3432 V10 I1080(Gethostbyname)S10 R1753(and)S10 I(gethostbyaddr)574 1945 A10 R(each)185 2566 A2798(return)S3086(a)S3178(pointer)S3510(to)S3635(an)S3777(object)S4071(with)S4298(the)S4469(following)S4908(structure)S3552 V1080(describing)S1540(an)S1676(internet)S2025(host)S2233(referenced)S2701(by)S2842(name)S3101(or)S3226(by)S3367(address,)S3735(respectively.)S4313(This)S4533(structure)S4926(contains)S3672 V1080(either)S1347(the)S1507(information)S2019(obtained)S2402(from)S2636(the)S2797(name)S3053(server,)S10 I3363(named)S10 R3639(\(8\),)S3820(or)S3942(broken-out)S4421(\256elds)S4677(from)S4911(a)S4994(line)S5183(in)S3792 V10 I1080(/etc/hosts)S10 R1468(.)S1543(If)S1636(the)S1784(local)S2005(name)S2248(server)S2520(is)S2612(not)S(running)312 2765 A3102(these)S3334(routines)S3683(do)S3808(a)S(lookup)278 3878 A4181(in)S10 I4284(/etc/hosts)S10 R4672(.)S3960 V1440(struct)S1800(hostent)S2115({)S4080 V1800(char)S(*h_name;)396 2160 A2880(/*)S2983(of\256cial)S3294(name)S3537(of)S3646(host)S3838(*/)S4200 V1800(char)S(**h_aliases;)497 2160 A2880(/*)S2983(alias)S3193(list)S3341(*/)S4320 V1800(int)S2160(h_addrtype;)S2880(/*)S2983(host)S3175(address)S3502(type)S3700(*/)S4440 V1800(int)S2160(h_length;)S2880(/*)S2983(length)S3259(of)S3368(address)S3695(*/)S4560 V1800(char)S(**h_addr_list;)580 2160 A2880(/*)S2983(list)S3131(of)S3240(addresses)S3651(from)S3872(name)S4115(server)S4387(*/)S4680 V1440(};)S4800 V1440(#de\256ne)S1800(h_addr)S2129(h_addr_list[0])S2880(/*)S2983(address,)S3335(for)S3478(backward)S(compatibility)536 3895 A4456(*/)S4968 V1080(The)S1262(members)S1656(of)S1765(this)S1935(structure)S2313(are:)S5136 V(h_name)318 1080 A1632(Of\256cial)S1966(name)S2209(of)S2318(the)S2466(host.)S5304 V1080(h_aliases)S1632(A)S1730(zero)S1929(terminated)S2385(array)S2618(of)S2727(alternate)S3100(names)S3382(for)S3525(the)S3673(host.)S5472 V1080(h_addrtype)S1632(The)S1814(type)S2012(of)S2121(address)S2448(being)S2696(returned;)S3085(currently)S3474(always)S3779(AF_INET.)S5640 V1080(h_length)S1632(The)S1814(length,)S2115(in)S2218(bytes,)S2480(of)S2589(the)S2737(address.)S5808 V1080(h_addr_list)S1632(A)S1731(zero)S1931(terminated)S2388(array)S2622(of)S2732(network)S3088(addresses)S3500(for)S3645(the)S3795(host.)S4039(Host)S4256(addresses)S4669(are)S4820(returned)S5183(in)S5928 V1632(network)S1987(byte)S2185(order.)S6096 V1080(h_addr)S1632(The)S1814(\256rst)S1996(address)S2323(in)S2426(h_addr_list;)S2931(this)S3101(is)S3193(for)S3336(backward)S(compatiblity.)533 3753 A6264 V1080(When)S1352(using)S1601(the)S1756(nameserver,)S10 I2278(gethostbyname)S10 R(will)157 2913 A3102(search)S3392(for)S3542(the)S3697(named)S3997(host)S4196(in)S4307(the)S
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -