📄 ctags.1
字号:
%!PS-Adobe-1.0%%Creator: devps (Pipeline Associates, Inc.)%%CreationDate: Fri Sep 13 13:03:30 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/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 R720(CTAGS)S1059(\()S1101(1)S1159(\))S2696(Eighth)S(Edition)296 2989 A4788(CTAGS)S5127(\()S5169(1)S5227(\))S960 V9 R720(N)S722(NA)S790(AM)S858(ME)S940(E)S1080 V10 R1080(ctags)S1312(-)S1371(Generates)S1800("tags")S2069(and)S2239(\(optionally\))S2739("refs")S2998(\256les)S1248 V9 R720(S)S722(SY)S774(YN)S842(NO)S910(OP)S978(PS)S1030(SI)S1082(IS)S1115(S)S1368 V10 B1080(ctags)S10 R1336([)S10 B1370(-stvra)S10 R1622(])S10 I1694(\256lesnames)S10 R(...)75 2113 A1536 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)S1656 V10 I1080(ctags)S10 R1328(generates)S1745(the)S1904("tags")S2184(and)S2365("refs")S2635(\256les)S2839(from)S3071(a)S(group)234 3152 A3422(of)S3542(C)S3645(source)S3944(\256les.)S4198(The)S4391("tags")S4671(\256le)S4836(is)S4940(used)S5161(by)S1776 V1080(Elvis')S1360(":tag")S1632(command,)S2092(control-])S2484(command,)S2944(and)S3127(-t)S3227(option.)S3571(The)S3766("refs")S4038(\256le)S4205(is)S4310(sometimes)S4778(used)S5000(by)S5138(the)S1896 V10 I1080(ref\(1\))S10 R1335(program.)S2064 V1080(Each)S1313(C)S1411(source)S1705(\256le)S1865(is)S1963(scanned)S2318(for)S2467(#de\256ne)S2794(statements)S3250(and)S3427(global)S3710(function)S(de\256nitions.)449 4077 A4583(The)S4772(name)S5022(of)S5138(the)S2184 V1080(macro)S1358(or)S1468(function)S1829(becomes)S2207(the)S2356(name)S2600(of)S2710(a)S2781(tag.)S2980(For)S(each)185 3146 A3357(tag,)S3531(a)S3602(line)S3779(is)S3872(added)S4137(to)S4240(the)S4388("tags")S4657(\256le)S4811(which)S5082(con-)S2304 V1080(tains:)S2424 V1615(-)S1674(the)S1822(name)S2065(of)S2174(the)S2322(tag)S2544 V1615(-)S1674(a)S1744(tab)S1892(character)S2664 V1615(-)S1674(the)S1822(name)S2065(of)S2174(the)S2322(\256le)S2476(containing)S2925(the)S3073(tag)S2784 V1615(-)S1674(a)S1744(tab)S1892(character)S2904 V1615(-)S1674(a)S1744(way)S1937(to)S2040(\256nd)S2221(the)S2369(particular)S2781(line)S2957(within)S3239(the)S3387(\256le.)S3072 V1080(The)S1262(\256lenames)S1673(list)S(will)157 1821 A2003(typically)S2380(be)S2500(the)S2648(names)S2930(of)S3039(all)S3165(C)S3257(source)S3545(\256les)S3738(in)S3841(the)S3989(current)S4300(directory,)S4714(like)S4890(this:)S3192 V1440($)S1515(ctags)S1747(-stv)S1923(*.[ch])S3360 V9 R720(O)S722(OP)S790(PT)S842(TI)S900(IO)S933(ON)S1001(NS)S1069(S)S3480 V10 B1080(-t)S10 R1440(Include)S1774(typedefs.)S2197(A)S2302(tag)S(will)157 2457 A2646(be)S2773(generated)S3197(for)S(each)185 3347 A3564(user-de\256ned)S4094(type.)S4349(Also)S4571(tags)S(will)157 4765 A4954(be)S5082(gen-)S3600 V1440(erated)S1720(for)S1871(struct)S2128(and)S2306(enum)S2562(names.)S2901(Types)S3179(are)S3335(considered)S3803(to)S3913(be)S4040(global)S4323(if)S4417(they)S4622(are)S4778(de\256ned)S5106(in)S5216(a)S3720 V1440(header)S1734(\256le,)S1913(and)S2083(static)S2321(if)S2408(they)S2606(are)S2755(de\256ned)S3076(in)S3179(a)S3249(C)S3341(source)S3629(\256le.)S3888 V10 B1080(-v)S10 R1440(Include)S1772(variable)S2127(declarations.)S2694(A)S2797(tag)S(will)157 2950 A3137(be)S3262(generated)S3684(for)S(each)185 3832 A4047(variable,)S4427(except)S4720(for)S4868(those)S5110(that)S4008 V1440(are)S1589(declared)S1956(inside)S2221(the)S(body)200 2369 A2594(of)S2703(a)S2773(function.)S4176 V10 B1080(-s)S10 R1440(Include)S1775(static)S2021(tags.)S10 I2266(Ctags)S10 R(will)157 2533 A2723(normally)S3119(put)S3280(global)S3564(tags)S3760(in)S3872(the)S4029("tags")S4307(\256le,)S4495(and)S4674(silently)S(ignore)257 5004 A4296 V1440(the)S1594(static)S1838(tags.)S2081(This)S2291(\257ag)S2473(causes)S2767(both)S2976(global)S3258(and)S3434(static)S3678(tags)S3871(to)S3979(be)S4104(added.)S4424(The)S4611(name)S4859(of)S4973(a)S5048(static)S4416 V1440(tag)S1588(is)S1680(generated)S2097(by)S2222(pre\256xing)S2610(the)S2758(name)S3001(of)S3110(the)S3258(declared)S3625(item)S3829(with)S4033(the)S4181(name)S4425(of)S4535(the)S4684(\256le)S4839(where)S5112(it)S5194(is)S4536 V1440(de\256ned,)S1803(with)S2024(a)S2111(colon)S2376(in)S2496(between.)S2924(For)S3106(example,)S3513("static)S3808(foo\(\){}")S4188(in)S4307("bar.c")S4629(results)S4933(in)S5052(a)S5138(tag)S4656 V1440(named)S1733("bar.c:foo".)S4824 V10 B1080(-r)S10 R1440(This)S1664(causes)S10 I1972(ctags)S10 R2229(to)S2352(generate)S2739(both)S2962("tags")S3251(and)S3441("refs".)S(Without)329 3771 A10 B4146(-r)S10 R4225(,)S4296(it)S4398(would)S4695(only)S4919(generate)S4944 V1440("tags".)S5112 V10 B1080(-a)S10 R1440(Append)S1797(to)S1914("tags",)S2222(and)S2406(maybe)S2713("refs".)S3036(Normally,)S10 I3486(ctags)S10 R3737(overwrites)S4202(these)S4448(\256les)S(each)185 4655 A4879(time)S5098(it)S5194(is)S5232 V(invoked.)348 1440 A1839(This)S2044(\257ag)S2221(is)S2314(useful)S2586(when)S(you)150 2830 A3006(have)S3222(to)S3325(many)S3573(\256les)S3766(in)S3869(the)S4017(current)S4328(directory)S4717(for)S(you)150 4860 A5035(to)S5138(list)S5352 V1440(them)S1676(on)S1812(a)S1893(single)S2169(command-line;)S2814(it)S2906(allows)S(you)150 3205 A3391(to)S(split)173 3505 A3714(the)S3873(arguments)S(among)273 4328 A4637(several)S(invoca-)302 4959 A5472 V1440(tions.)S5640 V9 R720(F)S722(FI)S774(IL)S807(LE)S865(ES)S923(S)S5760 V10 R1080(tags)S1440(A)S1546(cross-reference)S2197(that)S2381(lists)S(each)185 2576 A2794(tag)S2950(name,)S3226(the)S3382(name)S3633(of)S3751(the)S3908(source)S4205(\256le)S4368(that)S4553(contains)S4922(it,)S5037(and)S5216(a)S5880 V1440(way)S1633(to)S1736(locate)S2002(a)S2072(particular)S2484(line)S2660(in)S2763(the)S2911(source)S3199(\256le.)S6048 V1080(refs)S1440(The)S1626("refs")S1889(\256le)S2047(contains)S2411(the)S(de\256nitions)424 2563 A3016(for)S(each)185 3163 A3377(tag)S3529(in)S3636(the)S3788("tags")S4062(\256le,)S4246(and)S4421(very)S(little)185 4630 A4845(else.)S5082(This)S6168 V1440(\256le)S1616(can)S1803(be)S1945(useful,)S2262(for)S2426(example,)S2838(when)S3102(licensing)S3511(restrictions)S4005(prevent)S(you)150 4353 A4549(from)S4791(making)S5138(the)S6288 V1440(source)S1732(code)S1951(to)S2058(the)S2210(standard)S2580(C)S2677(library)S2976(readable)S3348(by)S(everybody,)449 3478 A3957(but)S(you)150 4115 A(still)151 4295 A(everybody)424 4476 A4930(to)S(know)223 5038 A6408 V1440(what)S1661(arguments)S2105(the)S2253(library)S2547(functions)S2946(need.)S6576 V9 R720(B)S722(BU)S784(UG)S852(GS)S920(S)S6696 V10 I1080(ctags)S10 R1322(is)S(sensitive)352 1419 A1801(to)S1910(indenting)S2320(and)S2496(line)S2678(breaks.)S3022(Consequently,)S3630(it)S3717(might)S3982(not)S4141(discover)S4513(all)S4645(of)S4760(the)S4914(tags)S5107(in)S5216(a)S6816 V1080(\256le)S1234(that)S1410(is)S1502(formatted)S1919(in)S2022(an)S(unusual)312 2142 A2479(way.)S6984 V9 R720(S)S722(SE)S774(EE)S832(E)S913(A)S915(AL)S983(LS)S1041(SO)S1093(O)S7104 V10 R1080(elvis\(1\),)S1438(refs\(1\))S7272 V9 R720(A)S722(AU)S790(UT)S858(TH)S916(HO)S984(OR)S1052(R)S7392 V10 R1080(Steve)S1329(Kirkendall)S7512 V(kirkenda@cs.pdx.edu)874 1080 A7903 V720(Page)S941(1)S4455(September)S4911(13,)S(1996)200 5061 A8143 VEP%%Page: 2 2BP/slant 0 def/height 0 def480 V10 R720(CTAGS)S1059(\()S1101(1)S1159(\))S2696(Eighth)S(Edition)296 2989 A4788(CTAGS)S5127(\()S5169(1)S5227(\))S7543 V720(September)S1176(13,)S(1996)200 1326 A4990(Page)S5211(2)S8143 VEP%%Trailer%%DocumentFonts: Times-Roman Times-Bold Times-Italic%%Pages: 2
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -