老韩LinuxSRE 使用gcc指令对C语言源文件做做预处理〔roothanywk8HelloWorldTest〕gccEHelloWorld。coHelloWorld。i 使用nl指令查看有很多空行,看起来十分不方便。 nl指令查看有很多空行 去空行方式1(删除纯空行),指令及输出结果如下。〔roothanywk8HelloWorldTest〕sedsdHelloWorld。i1HelloWorld。c1builtin1commandline1usrincludestdcpredef。h1341commandline21HelloWorld。c1usrincludestdio。h13427usrincludestdio。h341usrincludefeatures。h134375usrincludefeatures。h341usrincludesyscdefs。h134392usrincludesyscdefs。h341usrincludebitswordsize。h134393usrincludesyscdefs。h234376usrincludefeatures。h234399usrincludefeatures。h341usrincludegnustubs。h13410usrincludegnustubs。h341usrincludegnustubs64。h13411usrincludegnustubs。h234400usrincludefeatures。h23428usrincludestdio。h2341usrlibgccx8664redhatlinux4。8。5includestddef。h134212usrlibgccx8664redhatlinux4。8。5includestddef。h34typedeflongunsignedintsizet;34usrincludestdio。h2341usrincludebitstypes。h13427usrincludebitstypes。h341usrincludebitswordsize。h13428usrincludebitstypes。h234typedefunsignedcharuchar;typedefunsignedshortintushort;typedefunsignedintuint;typedefunsignedlongintulong;typedefsignedcharint8t;typedefunsignedcharuint8t;typedefsignedshortintint16t;typedefunsignedshortintuint16t;typedefsignedintint32t;typedefunsignedintuint32t;typedefsignedlongintint64t;typedefunsignedlongintuint64t;typedeflongintquadt;typedefunsignedlongintuquadt;130usrincludebitstypes。h341usrincludebitstypesizes。h134131usrincludebitstypes。h234typedefunsignedlongintdevt;typedefunsignedintuidt;typedefunsignedintgidt;typedefunsignedlongintinot;typedefunsignedlongintino64t;typedefunsignedintmodet;typedefunsignedlongintnlinkt;typedeflongintofft;typedeflongintoff64t;typedefintpidt;typedefstruct{intval〔2〕;}fsidt;typedeflongintclockt;typedefunsignedlongintrlimt;typedefunsignedlongintrlim64t;typedefunsignedintidt;typedeflonginttimet;typedefunsignedintusecondst;typedeflongintsusecondst;typedefintdaddrt;typedefintkeyt;typedefintclockidt;typedefvoidtimert;typedeflongintblksizet;typedeflongintblkcntt;typedeflongintblkcnt64t;typedefunsignedlongintfsblkcntt;typedefunsignedlongintfsblkcnt64t;typedefunsignedlongintfsfilcntt;typedefunsignedlongintfsfilcnt64t;typedeflongintfswordt;typedeflongintssizet;typedeflongintsyscallslongt;typedefunsignedlongintsyscallulongt;typedefoff64tlofft;typedefquadtqaddrt;typedefcharcaddrt;typedeflongintintptrt;typedefunsignedintsocklent;36usrincludestdio。h23444usrincludestdio。h34structIOFILE;typedefstructIOFILEFILE;64usrincludestdio。h34typedefstructIOFILEFILE;74usrincludestdio。h341usrincludelibio。h13432usrincludelibio。h341usrincludeGconfig。h13415usrincludeGconfig。h341usrlibgccx8664redhatlinux4。8。5includestddef。h13416usrincludeGconfig。h2341usrincludewchar。h13482usrincludewchar。h34typedefstruct{intcount;union{unsignedintwch;charwchb〔4〕;}value;}mbstatet;21usrincludeGconfig。h234typedefstruct{offtpos;mbstatetstate;}Gfpost;typedefstruct{off64tpos;mbstatetstate;}Gfpos64t;33usrincludelibio。h23450usrincludelibio。h341usrlibgccx8664redhatlinux4。8。5includestdarg。h13440usrlibgccx8664redhatlinux4。8。5includestdarg。h34typedefbuiltinvalistgnucvalist;51usrincludelibio。h234145usrincludelibio。h34structIOjumpt;structIOFILE;155usrincludelibio。h34typedefvoidIOlockt;structIOmarker{structIOmarkernext;structIOFILEsbuf;intpos;178usrincludelibio。h34};enumcodecvtresult{codecvtok,codecvtpartial,codecvterror,codecvtnoconv};246usrincludelibio。h34structIOFILE{intflags;charIOreadptr;charIOreadend;charIOreadbase;charIOwritebase;charIOwriteptr;charIOwriteend;charIObufbase;charIObufend;charIOsavebase;charIObackupbase;charIOsaveend;structIOmarkermarkers;structIOFILEchain;intfileno;intflags2;offtoldoffset;unsignedshortcurcolumn;signedcharvtableoffset;charshortbuf〔1〕;IOlocktlock;294usrincludelibio。h34off64toffset;303usrincludelibio。h34voidpad1;voidpad2;voidpad3;voidpad4;sizetpad5;intmode;charunused2〔15sizeof(int)4sizeof(void)sizeof(sizet)〕;};typedefstructIOFILEIOFILE;structIOFILEplus;externstructIOFILEplusIO21stdin;externstructIOFILEplusIO21stdout;externstructIOFILEplusIO21stderr;339usrincludelibio。h34typedefssizetioreadfn(voidcookie,charbuf,sizetnbytes);typedefssizetiowritefn(voidcookie,constcharbuf,sizetn);typedefintioseekfn(voidcookie,off64tpos,intw);typedefintioclosefn(voidcookie);391usrincludelibio。h34externintunderflow(IOFILE);externintuflow(IOFILE);externintoverflow(IOFILE,int);435usrincludelibio。h34externintIOgetc(IOFILEfp);externintIOputc(intc,IOFILEfp);externintIOfeof(IOFILEfp)attribute((nothrow,leaf));externintIOferror(IOFILEfp)attribute((nothrow,leaf));externintIOpeekclocked(IOFILEfp);externvoidIOflockfile(IOFILE)attribute((nothrow,leaf));externvoidIOfunlockfile(IOFILE)attribute((nothrow,leaf));externintIOftrylockfile(IOFILE)attribute((nothrow,leaf));465usrincludelibio。h34externintIOvfscanf(IOFILErestrict,constcharrestrict,gnucvalist,intrestrict);externintIOvfprintf(IOFILErestrict,constcharrestrict,gnucvalist);externssizetIOpadn(IOFILE,int,ssizet);externsizetIOsgetn(IOFILE,void,sizet);externoff64tIOseekoff(IOFILE,off64t,int,int);externoff64tIOseekpos(IOFILE,off64t,int);externvoidIOfreebackuparea(IOFILE)attribute((nothrow,leaf));75usrincludestdio。h234typedefgnucvalistvalist;90usrincludestdio。h34typedefofftofft;102usrincludestdio。h34typedefssizetssizet;typedefGfpostfpost;164usrincludestdio。h341usrincludebitsstdiolim。h134165usrincludestdio。h234externstructIOFILEstdin;externstructIOFILEstdout;externstructIOFILEstderr;externintremove(constcharfilename)attribute((nothrow,leaf));externintrename(constcharold,constcharnew)attribute((nothrow,leaf));externintrenameat(intoldfd,constcharold,intnewfd,constcharnew)attribute((nothrow,leaf));externFILEtmpfile(void);209usrincludestdio。h34externchartmpnam(chars)attribute((nothrow,leaf));externchartmpnamr(chars)attribute((nothrow,leaf));227usrincludestdio。h34externchartempnam(constchardir,constcharpfx)attribute((nothrow,leaf))attribute((malloc));externintfclose(FILEstream);externintfflush(FILEstream);252usrincludestdio。h34externintfflushunlocked(FILEstream);266usrincludestdio。h34externFILEfopen(constcharrestrictfilename,constcharrestrictmodes);externFILEfreopen(constcharrestrictfilename,constcharrestrictmodes,FILErestrictstream);295usrincludestdio。h34306usrincludestdio。h34externFILEfdopen(intfd,constcharmodes)attribute((nothrow,leaf));319usrincludestdio。h34externFILEfmemopen(voids,sizetlen,constcharmodes)attribute((nothrow,leaf));externFILEopenmemstream(charbufloc,sizetsizeloc)attribute((nothrow,leaf));externvoidsetbuf(FILErestrictstream,charrestrictbuf)attribute((nothrow,leaf));externintsetvbuf(FILErestrictstream,charrestrictbuf,intmodes,sizetn)attribute((nothrow,leaf));externvoidsetbuffer(FILErestrictstream,charrestrictbuf,sizetsize)attribute((nothrow,leaf));externvoidsetlinebuf(FILEstream)attribute((nothrow,leaf));externintfprintf(FILErestrictstream,constcharrestrictformat,。。。);externintprintf(constcharrestrictformat,。。。);externintsprintf(charrestricts,constcharrestrictformat,。。。)attribute((nothrow));externintvfprintf(FILErestricts,constcharrestrictformat,gnucvalistarg);externintvprintf(constcharrestrictformat,gnucvalistarg);externintvsprintf(charrestricts,constcharrestrictformat,gnucvalistarg)attribute((nothrow));externintsnprintf(charrestricts,sizetmaxlen,constcharrestrictformat,。。。)attribute((nothrow))attribute((format(printf,3,4)));externintvsnprintf(charrestricts,sizetmaxlen,constcharrestrictformat,gnucvalistarg)attribute((nothrow))attribute((format(printf,3,0)));412usrincludestdio。h34externintvdprintf(intfd,constcharrestrictfmt,gnucvalistarg)attribute((format(printf,2,0)));externintdprintf(intfd,constcharrestrictfmt,。。。)attribute((format(printf,2,3)));externintfscanf(FILErestrictstream,constcharrestrictformat,。。。);externintscanf(constcharrestrictformat,。。。);externintsscanf(constcharrestricts,constcharrestrictformat,。。。)attribute((nothrow,leaf));443usrincludestdio。h34externintfscanf(FILErestrictstream,constcharrestrictformat,。。。)asm(isoc99fscanf);externintscanf(constcharrestrictformat,。。。)asm(isoc99scanf);externintsscanf(constcharrestricts,constcharrestrictformat,。。。)asm(isoc99sscanf)attribute((nothrow,leaf));463usrincludestdio。h34externintvfscanf(FILErestricts,constcharrestrictformat,gnucvalistarg)attribute((format(scanf,2,0)));externintvscanf(constcharrestrictformat,gnucvalistarg)attribute((format(scanf,1,0)));externintvsscanf(constcharrestricts,constcharrestrictformat,gnucvalistarg)attribute((nothrow,leaf))attribute((format(scanf,2,0)));494usrincludestdio。h34externintvfscanf(FILErestricts,constcharrestrictformat,gnucvalistarg)asm(isoc99vfscanf)attribute((format(scanf,2,0)));externintvscanf(constcharrestrictformat,gnucvalistarg)asm(isoc99vscanf)attribute((format(scanf,1,0)));externintvsscanf(constcharrestricts,constcharrestrictformat,gnucvalistarg)asm(isoc99vsscanf)attribute((nothrow,leaf))attribute((format(scanf,2,0)));522usrincludestdio。h34externintfgetc(FILEstream);externintgetc(FILEstream);externintgetchar(void);550usrincludestdio。h34externintgetcunlocked(FILEstream);externintgetcharunlocked(void);561usrincludestdio。h34externintfgetcunlocked(FILEstream);externintfputc(intc,FILEstream);externintputc(intc,FILEstream);externintputchar(intc);594usrincludestdio。h34externintfputcunlocked(intc,FILEstream);externintputcunlocked(intc,FILEstream);externintputcharunlocked(intc);externintgetw(FILEstream);externintputw(intw,FILEstream);externcharfgets(charrestricts,intn,FILErestrictstream);638usrincludestdio。h34externchargets(chars)attribute((deprecated));665usrincludestdio。h34externssizetgetdelim(charrestrictlineptr,sizetrestrictn,intdelimiter,FILErestrictstream);externssizetgetdelim(charrestrictlineptr,sizetrestrictn,intdelimiter,FILErestrictstream);externssizetgetline(charrestrictlineptr,sizetrestrictn,FILErestrictstream);externintfputs(constcharrestricts,FILErestrictstream);externintputs(constchars);externintungetc(intc,FILEstream);externsizetfread(voidrestrictptr,sizetsize,sizetn,FILErestrictstream);externsizetfwrite(constvoidrestrictptr,sizetsize,sizetn,FILErestricts);737usrincludestdio。h34externsizetfreadunlocked(voidrestrictptr,sizetsize,sizetn,FILErestrictstream);externsizetfwriteunlocked(constvoidrestrictptr,sizetsize,sizetn,FILErestrictstream);externintfseek(FILEstream,longintoff,intwhence);externlongintftell(FILEstream);externvoidrewind(FILEstream);773usrincludestdio。h34externintfseeko(FILEstream,offtoff,intwhence);externofftftello(FILEstream);792usrincludestdio。h34externintfgetpos(FILErestrictstream,fpostrestrictpos);externintfsetpos(FILEstream,constfpostpos);815usrincludestdio。h34824usrincludestdio。h34externvoidclearerr(FILEstream)attribute((nothrow,leaf));externintfeof(FILEstream)attribute((nothrow,leaf));externintferror(FILEstream)attribute((nothrow,leaf));externvoidclearerrunlocked(FILEstream)attribute((nothrow,leaf));externintfeofunlocked(FILEstream)attribute((nothrow,leaf));externintferrorunlocked(FILEstream)attribute((nothrow,leaf));externvoidperror(constchars);1usrincludebitssyserrlist。h13426usrincludebitssyserrlist。h34externintsysnerr;externconstcharconstsyserrlist〔〕;854usrincludestdio。h234externintfileno(FILEstream)attribute((nothrow,leaf));externintfilenounlocked(FILEstream)attribute((nothrow,leaf));873usrincludestdio。h34externFILEpopen(constcharcommand,constcharmodes);externintpclose(FILEstream);externcharctermid(chars)attribute((nothrow,leaf));913usrincludestdio。h34externvoidflockfile(FILEstream)attribute((nothrow,leaf));externintftrylockfile(FILEstream)attribute((nothrow,leaf));externvoidfunlockfile(FILEstream)attribute((nothrow,leaf));943usrincludestdio。h342HelloWorld。c2intmain(void){printf(HelloWorld);return0;} 方式2、删除由纯空格和空行组成的空行〔roothanywk8HelloWorldTest〕sed〔〕dHelloWorld。ised:eexpression1,char8:unterminatedaddressregex〔roothanywk8HelloWorldTest〕〔roothanywk8HelloWorldTest〕〔roothanywk8HelloWorldTest〕sed〔〕dHelloWorld。i1HelloWorld。c1builtin1commandline1usrincludestdcpredef。h1341commandline21HelloWorld。c1usrincludestdio。h13427usrincludestdio。h341usrincludefeatures。h134375usrincludefeatures。h341usrincludesyscdefs。h134392usrincludesyscdefs。h341usrincludebitswordsize。h134393usrincludesyscdefs。h234376usrincludefeatures。h234399usrincludefeatures。h341usrincludegnustubs。h13410usrincludegnustubs。h341usrincludegnustubs64。h13411usrincludegnustubs。h234400usrincludefeatures。h23428usrincludestdio。h2341usrlibgccx8664redhatlinux4。8。5includestddef。h134212usrlibgccx8664redhatlinux4。8。5includestddef。h34typedeflongunsignedintsizet;34usrincludestdio。h2341usrincludebitstypes。h13427usrincludebitstypes。h341usrincludebitswordsize。h13428usrincludebitstypes。h234typedefunsignedcharuchar;typedefunsignedshortintushort;typedefunsignedintuint;typedefunsignedlongintulong;typedefsignedcharint8t;typedefunsignedcharuint8t;typedefsignedshortintint16t;typedefunsignedshortintuint16t;typedefsignedintint32t;typedefunsignedintuint32t;typedefsignedlongintint64t;typedefunsignedlongintuint64t;typedeflongintquadt;typedefunsignedlongintuquadt;130usrincludebitstypes。h341usrincludebitstypesizes。h134131usrincludebitstypes。h234typedefunsignedlongintdevt;typedefunsignedintuidt;typedefunsignedintgidt;typedefunsignedlongintinot;typedefunsignedlongintino64t;typedefunsignedintmodet;typedefunsignedlongintnlinkt;typedeflongintofft;typedeflongintoff64t;typedefintpidt;typedefstruct{intval〔2〕;}fsidt;typedeflongintclockt;typedefunsignedlongintrlimt;typedefunsignedlongintrlim64t;typedefunsignedintidt;typedeflonginttimet;typedefunsignedintusecondst;typedeflongintsusecondst;typedefintdaddrt;typedefintkeyt;typedefintclockidt;typedefvoidtimert;typedeflongintblksizet;typedeflongintblkcntt;typedeflongintblkcnt64t;typedefunsignedlongintfsblkcntt;typedefunsignedlongintfsblkcnt64t;typedefunsignedlongintfsfilcntt;typedefunsignedlongintfsfilcnt64t;typedeflongintfswordt;typedeflongintssizet;typedeflongintsyscallslongt;typedefunsignedlongintsyscallulongt;typedefoff64tlofft;typedefquadtqaddrt;typedefcharcaddrt;typedeflongintintptrt;typedefunsignedintsocklent;36usrincludestdio。h23444usrincludestdio。h34structIOFILE;typedefstructIOFILEFILE;64usrincludestdio。h34typedefstructIOFILEFILE;74usrincludestdio。h341usrincludelibio。h13432usrincludelibio。h341usrincludeGconfig。h13415usrincludeGconfig。h341usrlibgccx8664redhatlinux4。8。5includestddef。h13416usrincludeGconfig。h2341usrincludewchar。h13482usrincludewchar。h34typedefstruct{intcount;union{unsignedintwch;charwchb〔4〕;}value;}mbstatet;21usrincludeGconfig。h234typedefstruct{offtpos;mbstatetstate;}Gfpost;typedefstruct{off64tpos;mbstatetstate;}Gfpos64t;33usrincludelibio。h23450usrincludelibio。h341usrlibgccx8664redhatlinux4。8。5includestdarg。h13440usrlibgccx8664redhatlinux4。8。5includestdarg。h34typedefbuiltinvalistgnucvalist;51usrincludelibio。h234145usrincludelibio。h34structIOjumpt;structIOFILE;155usrincludelibio。h34typedefvoidIOlockt;structIOmarker{structIOmarkernext;structIOFILEsbuf;intpos;178usrincludelibio。h34};enumcodecvtresult{codecvtok,codecvtpartial,codecvterror,codecvtnoconv};246usrincludelibio。h34structIOFILE{intflags;charIOreadptr;charIOreadend;charIOreadbase;charIOwritebase;charIOwriteptr;charIOwriteend;charIObufbase;charIObufend;charIOsavebase;charIObackupbase;charIOsaveend;structIOmarkermarkers;structIOFILEchain;intfileno;intflags2;offtoldoffset;unsignedshortcurcolumn;signedcharvtableoffset;charshortbuf〔1〕;IOlocktlock;294usrincludelibio。h34off64toffset;303usrincludelibio。h34voidpad1;voidpad2;voidpad3;voidpad4;sizetpad5;intmode;charunused2〔15sizeof(int)4sizeof(void)sizeof(sizet)〕;};typedefstructIOFILEIOFILE;structIOFILEplus;externstructIOFILEplusIO21stdin;externstructIOFILEplusIO21stdout;externstructIOFILEplusIO21stderr;339usrincludelibio。h34typedefssizetioreadfn(voidcookie,charbuf,sizetnbytes);typedefssizetiowritefn(voidcookie,constcharbuf,sizetn);typedefintioseekfn(voidcookie,off64tpos,intw);typedefintioclosefn(voidcookie);391usrincludelibio。h34externintunderflow(IOFILE);externintuflow(IOFILE);externintoverflow(IOFILE,int);435usrincludelibio。h34externintIOgetc(IOFILEfp);externintIOputc(intc,IOFILEfp);externintIOfeof(IOFILEfp)attribute((nothrow,leaf));externintIOferror(IOFILEfp)attribute((nothrow,leaf));externintIOpeekclocked(IOFILEfp);externvoidIOflockfile(IOFILE)attribute((nothrow,leaf));externvoidIOfunlockfile(IOFILE)attribute((nothrow,leaf));externintIOftrylockfile(IOFILE)attribute((nothrow,leaf));465usrincludelibio。h34externintIOvfscanf(IOFILErestrict,constcharrestrict,gnucvalist,intrestrict);externintIOvfprintf(IOFILErestrict,constcharrestrict,gnucvalist);externssizetIOpadn(IOFILE,int,ssizet);externsizetIOsgetn(IOFILE,void,sizet);externoff64tIOseekoff(IOFILE,off64t,int,int);externoff64tIOseekpos(IOFILE,off64t,int);externvoidIOfreebackuparea(IOFILE)attribute((nothrow,leaf));75usrincludestdio。h234typedefgnucvalistvalist;90usrincludestdio。h34typedefofftofft;102usrincludestdio。h34typedefssizetssizet;typedefGfpostfpost;164usrincludestdio。h341usrincludebitsstdiolim。h134165usrincludestdio。h234externstructIOFILEstdin;externstructIOFILEstdout;externstructIOFILEstderr;externintremove(constcharfilename)attribute((nothrow,leaf));externintrename(constcharold,constcharnew)attribute((nothrow,leaf));externintrenameat(intoldfd,constcharold,intnewfd,constcharnew)attribute((nothrow,leaf));externFILEtmpfile(void);209usrincludestdio。h34externchartmpnam(chars)attribute((nothrow,leaf));externchartmpnamr(chars)attribute((nothrow,leaf));227usrincludestdio。h34externchartempnam(constchardir,constcharpfx)attribute((nothrow,leaf))attribute((malloc));externintfclose(FILEstream);externintfflush(FILEstream);252usrincludestdio。h34externintfflushunlocked(FILEstream);266usrincludestdio。h34externFILEfopen(constcharrestrictfilename,constcharrestrictmodes);externFILEfreopen(constcharrestrictfilename,constcharrestrictmodes,FILErestrictstream);295usrincludestdio。h34306usrincludestdio。h34externFILEfdopen(intfd,constcharmodes)attribute((nothrow,leaf));319usrincludestdio。h34externFILEfmemopen(voids,sizetlen,constcharmodes)attribute((nothrow,leaf));externFILEopenmemstream(charbufloc,sizetsizeloc)attribute((nothrow,leaf));externvoidsetbuf(FILErestrictstream,charrestrictbuf)attribute((nothrow,leaf));externintsetvbuf(FILErestrictstream,charrestrictbuf,intmodes,sizetn)attribute((nothrow,leaf));externvoidsetbuffer(FILErestrictstream,charrestrictbuf,sizetsize)attribute((nothrow,leaf));externvoidsetlinebuf(FILEstream)attribute((nothrow,leaf));externintfprintf(FILErestrictstream,constcharrestrictformat,。。。);externintprintf(constcharrestrictformat,。。。);externintsprintf(charrestricts,constcharrestrictformat,。。。)attribute((nothrow));externintvfprintf(FILErestricts,constcharrestrictformat,gnucvalistarg);externintvprintf(constcharrestrictformat,gnucvalistarg);externintvsprintf(charrestricts,constcharrestrictformat,gnucvalistarg)attribute((nothrow));externintsnprintf(charrestricts,sizetmaxlen,constcharrestrictformat,。。。)attribute((nothrow))attribute((format(printf,3,4)));externintvsnprintf(charrestricts,sizetmaxlen,constcharrestrictformat,gnucvalistarg)attribute((nothrow))attribute((format(printf,3,0)));412usrincludestdio。h34externintvdprintf(intfd,constcharrestrictfmt,gnucvalistarg)attribute((format(printf,2,0)));externintdprintf(intfd,constcharrestrictfmt,。。。)attribute((format(printf,2,3)));externintfscanf(FILErestrictstream,constcharrestrictformat,。。。);externintscanf(constcharrestrictformat,。。。);externintsscanf(constcharrestricts,constcharrestrictformat,。。。)attribute((nothrow,leaf));443usrincludestdio。h34externintfscanf(FILErestrictstream,constcharrestrictformat,。。。)asm(isoc99fscanf);externintscanf(constcharrestrictformat,。。。)asm(isoc99scanf);externintsscanf(constcharrestricts,constcharrestrictformat,。。。)asm(isoc99sscanf)attribute((nothrow,leaf));463usrincludestdio。h34externintvfscanf(FILErestricts,constcharrestrictformat,gnucvalistarg)attribute((format(scanf,2,0)));externintvscanf(constcharrestrictformat,gnucvalistarg)attribute((format(scanf,1,0)));externintvsscanf(constcharrestricts,constcharrestrictformat,gnucvalistarg)attribute((nothrow,leaf))attribute((format(scanf,2,0)));494usrincludestdio。h34externintvfscanf(FILErestricts,constcharrestrictformat,gnucvalistarg)asm(isoc99vfscanf)attribute((format(scanf,2,0)));externintvscanf(constcharrestrictformat,gnucvalistarg)asm(isoc99vscanf)attribute((format(scanf,1,0)));externintvsscanf(constcharrestricts,constcharrestrictformat,gnucvalistarg)asm(isoc99vsscanf)attribute((nothrow,leaf))attribute((format(scanf,2,0)));522usrincludestdio。h34externintfgetc(FILEstream);externintgetc(FILEstream);externintgetchar(void);550usrincludestdio。h34externintgetcunlocked(FILEstream);externintgetcharunlocked(void);561usrincludestdio。h34externintfgetcunlocked(FILEstream);externintfputc(intc,FILEstream);externintputc(intc,FILEstream);externintputchar(intc);594usrincludestdio。h34externintfputcunlocked(intc,FILEstream);externintputcunlocked(intc,FILEstream);externintputcharunlocked(intc);externintgetw(FILEstream);externintputw(intw,FILEstream);externcharfgets(charrestricts,intn,FILErestrictstream);638usrincludestdio。h34externchargets(chars)attribute((deprecated));665usrincludestdio。h34externssizetgetdelim(charrestrictlineptr,sizetrestrictn,intdelimiter,FILErestrictstream);externssizetgetdelim(charrestrictlineptr,sizetrestrictn,intdelimiter,FILErestrictstream);externssizetgetline(charrestrictlineptr,sizetrestrictn,FILErestrictstream);externintfputs(constcharrestricts,FILErestrictstream);externintputs(constchars);externintungetc(intc,FILEstream);externsizetfread(voidrestrictptr,sizetsize,sizetn,FILErestrictstream);externsizetfwrite(constvoidrestrictptr,sizetsize,sizetn,FILErestricts);737usrincludestdio。h34externsizetfreadunlocked(voidrestrictptr,sizetsize,sizetn,FILErestrictstream);externsizetfwriteunlocked(constvoidrestrictptr,sizetsize,sizetn,FILErestrictstream);externintfseek(FILEstream,longintoff,intwhence);externlongintftell(FILEstream);externvoidrewind(FILEstream);773usrincludestdio。h34externintfseeko(FILEstream,offtoff,intwhence);externofftftello(FILEstream);792usrincludestdio。h34externintfgetpos(FILErestrictstream,fpostrestrictpos);externintfsetpos(FILEstream,constfpostpos);815usrincludestdio。h34824usrincludestdio。h34externvoidclearerr(FILEstream)attribute((nothrow,leaf));externintfeof(FILEstream)attribute((nothrow,leaf));externintferror(FILEstream)attribute((nothrow,leaf));externvoidclearerrunlocked(FILEstream)attribute((nothrow,leaf));externintfeofunlocked(FILEstream)attribute((nothrow,leaf));externintferrorunlocked(FILEstream)attribute((nothrow,leaf));externvoidperror(constchars);1usrincludebitssyserrlist。h13426usrincludebitssyserrlist。h34externintsysnerr;externconstcharconstsyserrlist〔〕;854usrincludestdio。h234externintfileno(FILEstream)attribute((nothrow,leaf));externintfilenounlocked(FILEstream)attribute((nothrow,leaf));873usrincludestdio。h34externFILEpopen(constcharcommand,constcharmodes);externintpclose(FILEstream);externcharctermid(chars)attribute((nothrow,leaf));913usrincludestdio。h34externvoidflockfile(FILEstream)attribute((nothrow,leaf));externintftrylockfile(FILEstream)attribute((nothrow,leaf));externvoidfunlockfile(FILEstream)attribute((nothrow,leaf));943usrincludestdio。h342HelloWorld。c2intmain(void){printf(HelloWorld);return0;}