unix_c.tar.gz

  • yonjay
    了解作者
  • QT
    开发工具
  • 488KB
    文件大小
  • gz
    文件格式
  • 0
    收藏次数
  • 1 积分
    下载积分
  • 3
    下载次数
  • 2014-09-16 22:13
    上传日期
linux编程,从基础到高深,很详细的介绍的linux编程的技术。
unix_c.tar.gz
  • 精通Unix下C语言编程与项目实践.pdf
    947.4KB
内容介绍
<html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta charset="utf-8"> <meta name="generator" content="pdf2htmlEX"> <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"> <link rel="stylesheet" href="https://static.pudn.com/base/css/base.min.css"> <link rel="stylesheet" href="https://static.pudn.com/base/css/fancy.min.css"> <link rel="stylesheet" href="https://static.pudn.com/prod/directory_preview_static/622b92b83d2fbb000754c79f/raw.css"> <script src="https://static.pudn.com/base/js/compatibility.min.js"></script> <script src="https://static.pudn.com/base/js/pdf2htmlEX.min.js"></script> <script> try{ pdf2htmlEX.defaultViewer = new pdf2htmlEX.Viewer({}); }catch(e){} </script> <title></title> </head> <body> <div id="sidebar" style="display: none"> <div id="outline"> </div> </div> <div id="pf1" class="pf w0 h0" data-page-no="1"><div class="pc pc1 w0 h0"><img class="bi x0 y0 w1 h1" alt="" src="https://static.pudn.com/prod/directory_preview_static/622b92b83d2fbb000754c79f/bg1.jpg"><div class="t m0 x1 h2 y1 ff1 fs0 fc0 sc0 ls0 ws0"> </div><div class="t m0 x2 h3 y2 ff2 fs1 fc0 sc1 ls1 ws0">&#31532;&#19968;&#31687;&#65306;&#36215;&#27493;&#31687;<span class="ff3 sc0 ls0"> </span></div><div class="t m0 x3 h4 y3 ff1 fs2 fc0 sc0 ls2 ws0"> <span class="ff2 ls0">&#21315;&#37324;&#20043;&#34892;&#65292;&#22987;&#20110;&#36275;&#19979;&#12290;<span class="ff1"> </span></span></div><div class="t m0 x3 h5 y4 ff4 fs3 fc0 sc1 ls3 ws0">&#31532;&#19968;&#31456;<span class="ff5 sc0 ls4 ws1"> UNIX</span>&#21021;&#27493;<span class="ff5 sc0 ls0"> </span></div><div class="t m0 x4 h4 y5 ff1 fs2 fc0 sc0 ls5 ws0">UNIX<span class="_ _0"> </span><span class="ff2 ls0">&#33258;<span class="_ _1"> </span></span><span class="ls6">1969<span class="_ _0"> </span><span class="ff2 ls0">&#24180;&#35806;&#29983;&#20197;&#26469;&#65292;&#24050;&#32463;&#21457;&#23637;&#20026;<span class="_ _1"> </span></span><span class="ls7 ws2">System III &amp; V</span><span class="ff2 ls0">&#12289;</span><span class="ls8">BSD<span class="_ _0"> </span><span class="ff2 ls0">&#21644;<span class="_ _1"> </span></span><span class="ls9">Linux<span class="_ _0"> </span><span class="ff2 ls0">&#19977;&#22823;&#20998;&#25903;&#12290;<span class="ff1"> </span></span></span></span></span></div><div class="t m0 x4 h4 y6 ff1 fs2 fc0 sc0 ls0 ws0">UniX<span class="_ _0"> </span><span class="ff2">&#36890;&#36807;<span class="_ _1"> </span></span><span class="lsa">shell<span class="_ _0"> </span></span><span class="ff2">&#19982;&#29992;&#25143;&#20132;&#20114;&#65292;&#23427;&#26159;&#29992;&#25143;&#19982;&#31995;&#32479;&#38388;&#30340;&#30028;&#38754;&#12290;&#20351;&#29992;&#22909;<span class="_ _1"> </span></span><span class="lsa">shell<span class="_ _0"> </span></span><span class="ff2">&#23545;&#20110;&#23398;&#20064;&#20351;&#29992;<span class="_ _1"> </span></span><span class="ls5">UNIX<span class="_ _0"> </span></span><span class="ff2">&#26469;&#35828;&#26159;&#24517;&#39035;</span></div><div class="t m0 x3 h4 y7 ff2 fs2 fc0 sc0 ls0 ws0">&#30340;&#12290;&#19981;&#38656;&#35201;&#20320;&#35760;&#20303;&#25152;&#26377;&#30340;&#21629;&#20196;&#65292;&#20294;&#22522;&#30784;&#30340;&#25991;&#20214;&#25805;&#20316;&#12289;&#30446;&#24405;&#25805;&#20316;&#21450;&#31995;&#32479;&#21629;&#20196;&#31561;&#21364;&#26159;&#24517;&#39035;&#30340;&#12290;<span class="ff1"> </span></div><div class="t m0 x4 h4 y8 ff1 fs2 fc0 sc0 lsb ws0">Vi<span class="_ _0"> </span><span class="ff2 ls0">&#23545;&#20110;&#21021;&#23398;&#32773;&#26159;&#38590;&#28857;&#65292;&#19981;&#36807;&#21482;&#35201;&#36890;&#36807;&#19968;&#27573;&#26102;&#38388;&#30340;&#32451;&#20064;&#23601;&#33021;&#20064;&#24815;&#65307;&#32780;&#19988;&#20320;&#20250;&#24456;&#24555;&#21457;&#29616;&#65292;&#23427;&#21151;&#33021;&#24378;&#22823;&#12289;&#26356;</span></div><div class="t m0 x3 h4 y9 ff2 fs2 fc0 sc0 ls0 ws0">&#21152;&#28789;&#27963;&#12290;&#36825;&#37324;&#19981;&#22810;&#35828;&#20102;&#65306;&#65289;<span class="ff1"> </span></div><div class="t m0 x3 h5 ya ff4 fs3 fc0 sc1 ls3 ws0">&#31532;&#20108;&#31456;<span class="ff5 sc0 ls0"> <span class="_ _2"> </span></span>&#32534;&#31243;&#22871;&#20214;<span class="ff5 sc0 ls0"> </span></div><div class="t m0 x4 h4 yb ff2 fs2 fc0 sc0 ls0 ws0">&#23398;&#20064;<span class="_ _1"> </span><span class="ff1 ls5">UNIX<span class="_ _0"> </span></span>&#23545;&#20110;&#21021;&#23398;&#32773;&#26377;&#20960;&#31181;&#36873;&#25321;&#12290;&#19968;&#31181;&#23601;&#26159;&#26368;&#30452;&#25509;&#30340;&#65292;&#22312;&#26412;&#26426;&#19978;&#23433;&#35013;<span class="_ _1"> </span><span class="ff1 ls5">UNIX<span class="_ _0"> </span></span>&#31995;&#32479;&#65292;&#19981;&#22914;&#35828;<span class="_ _1"> </span><span class="ff1 ls9">Linux<span class="_ _0"> </span></span>&#20998;&#25903;</div><div class="t m0 x3 h4 yc ff2 fs2 fc0 sc0 ls0 ws0">&#20013;&#30340;<span class="_ _1"> </span><span class="ff1 lsc ws3">Red Hat<span class="_ _0"> </span></span>&#31561;&#65307;&#19968;&#31181;&#26159;&#22312;<span class="_ _1"> </span><span class="ff1 lsd">Windows<span class="_ _0"> </span></span>&#29615;&#22659;&#19979;&#20351;&#29992;&#34394;&#25311;&#26426;&#26041;&#24335;&#23433;&#35013;<span class="_ _1"> </span><span class="ff1 ls5">UNIX<span class="_ _0"> </span></span>&#31995;&#32479;&#65307;&#21478;&#19968;&#31181;&#21017;&#26159;&#20351;&#29992;&#32593;&#32476;&#32456;&#31471;</div><div class="t m0 x3 h4 yd ff2 fs2 fc0 sc0 ls0 ws0">&#30331;&#24405;&#21040;&#32593;&#32476;&#29615;&#22659;&#20013;&#30340;&#26576;&#20010;<span class="_ _1"> </span><span class="ff1 ls5">UNIX<span class="_ _0"> </span></span>&#31995;&#32479;&#20013;&#12290;<span class="ff1"> </span></div><div class="t m0 x4 h4 ye ff2 fs2 fc0 sc0 ls0 ws0">&#22914;&#26524;&#20320;&#30456;&#23545;&#40657;&#27934;&#27934;&#30340;<span class="_ _1"> </span><span class="ff1 ls5">UNIX<span class="_ _0"> </span></span>&#23383;&#31526;&#30028;&#38754;&#26356;&#21916;&#27426;&#33298;&#36866;&#32654;&#35266;&#30340;<span class="_ _1"> </span><span class="ff1 lsd">Windows<span class="_ _0"> </span></span>&#30028;&#38754;&#65292;&#37027;&#20040;&#25512;&#33616;&#20320;&#36873;&#25321;&#31532;&#19977;&#31181;&#26041;&#24335;&#12290;</div><div class="t m0 x3 h4 yf ff2 fs2 fc0 sc0 ls0 ws0">&#24320;&#21457;&#22871;&#20214;&#21253;&#25324;&#65306;&#32534;&#36753;&#22120;<span class="_ _1"> </span><span class="ff1 lse">UltraEdit</span>&#12289;&#32593;&#32476;&#32456;&#31471;<span class="_ _1"> </span><span class="ff1 lsf">SecureCRT<span class="_ _0"> </span></span>&#25110;&#20854;&#20182;<span class="_ _3"></span>&#12290;<span class="ff1"> </span></div><div class="t m0 x4 h4 y10 ff2 fs2 fc0 sc0 ls0 ws0">&#32534;&#35793;&#22120;&#23601;&#19981;&#29992;&#35828;&#20102;&#65292;&#33258;&#28982;&#26159;<span class="_ _1"> </span><span class="ff1 ls10">cc</span>&#65288;<span class="ff1 ls11">gcc<span class="_ _0"> </span></span>&#25110;<span class="_ _1"> </span><span class="ff1 ls12">xlc<span class="_ _0"> </span></span>&#31995;&#21015;&#65289;&#12290;&#36825;&#26159;<span class="_ _1"> </span><span class="ff1">C<span class="_ _0"> </span></span>&#35821;&#35328;&#24320;&#21457;&#24517;&#19981;&#21487;&#23569;&#30340;&#12290;&#20854;&#20013;&#35201;&#27880;&#24847;<span class="ff1 ls13">-I</span><span class="ls14">&#65288;&#21152;&#36733;</span></div><div class="t m0 x3 h4 y11 ff2 fs2 fc0 sc0 ls0 ws0">&#22836;&#25991;&#20214;&#36335;&#24452;&#65289;&#12289;<span class="ff1 ls13">-L</span>&#65288;&#21152;&#36733;&#24211;&#25991;&#20214;&#36335;&#24452;&#65289;&#21450;<span class="ff1 ls13">-D</span>&#65288;&#23439;&#23450;&#20041;&#65289;&#21442;&#25968;&#30340;&#20351;&#29992;&#12290;<span class="ff1"> </span></div><div class="t m0 x4 h4 y12 ff1 fs2 fc0 sc0 ls15 ws0">Make<span class="_ _0"> </span><span class="ff2 ls0">&#24037;&#20855;&#20351;&#29992;&#12290;&#22914;&#20309;&#32534;&#20889;<span class="_ _1"> </span></span><span class="ls16">makefile<span class="_ _4"> </span><span class="ff2 ls0">&#26159;&#20851;&#38190;&#12290;&#21518;&#38754;&#39033;&#30446;&#20013;&#20351;&#29992;&#26102;&#20250;&#35814;&#32454;&#20171;&#32461;&#12290;<span class="ff1"> </span></span></span></div><div class="t m0 x4 h4 y13 ff1 fs2 fc0 sc0 lsb ws0">Gdb<span class="_ _0"> </span><span class="ff2 ls0">&#35843;&#35797;&#22120;&#12290;</span>Gdb<span class="_ _0"> </span><span class="ff2 ls0">&#20035;&#31526;&#21495;&#32423;&#35843;&#35797;&#24037;&#20855;&#65292;&#23427;&#25511;&#21046;&#31243;&#24207;&#30340;&#20869;&#37096;&#25191;&#34892;&#65292;&#21033;&#29992;&#26029;&#28857;&#35774;&#32622;&#12289;&#21333;&#27493;&#36816;&#34892;&#31561;&#25163;&#27573;&#65292;&#23558;</span></div><div class="t m0 x3 h6 y14 ff2 fs2 fc0 sc0 ls0 ws0">&#31243;&#24207;&#30340;&#25191;&#34892;&#36807;&#31243;&#36880;&#27493;&#23637;&#31034;&#22312;&#35843;&#35797;&#32773;&#30446;&#21069;&#12290;&#36825;&#31181;&#35843;&#35797;&#26041;&#24335;&#22312;&#30701;&#20195;&#30721;&#20013;&#21487;&#20197;&#21457;&#25381;&#24471;&#24456;&#22909;&#12290;&#20107;&#23454;&#19978;&#65292;&#38543;&#30528;&#36719;&#20214;</div><div class="t m0 x3 h4 y15 ff2 fs2 fc0 sc0 ls0 ws0">&#39033;&#30446;&#30340;&#25193;&#22823;&#21270;&#12289;&#22797;&#26434;&#21270;&#21644;&#20998;&#24067;&#21270;&#65292;&#24456;&#23569;&#26377;&#31243;&#24207;&#21592;&#30452;&#25509;&#36890;&#36807;<span class="_ _1"> </span><span class="ff1 lsb">Gdb<span class="_ _0"> </span></span>&#31561;&#24037;&#20855;&#35843;&#35797;&#65307;&#20351;&#29992;&#26085;&#24535;&#35760;&#24405;&#35843;&#35797;&#26041;&#27861;&#27604;</div><div class="t m0 x3 h4 y16 ff1 fs2 fc0 sc0 lsb ws0">Gdb<span class="_ _0"> </span><span class="ff2 ls0">&#31561;&#35843;&#35797;&#24037;&#20855;&#26356;&#20026;&#20415;&#25463;&#21644;&#24191;&#27867;&#12290;<span class="ff1"> </span></span></div><div class="t m0 x4 h4 y17 ff1 fs2 fc0 sc0 ls0 ws0">C<span class="_ _0"> </span><span class="ff2">&#24037;&#20855;&#65306;</span><span class="ls17">lint<span class="_ _4"> </span></span><span class="ff2">&#26816;&#26597;&#28304;&#20195;&#30721;&#26159;&#21542;&#27491;&#30830;&#65292;</span><span class="ls18">gpro<span class="_ _5"></span>f<span class="_ _0"> </span></span><span class="ff2">&#20998;&#26512;&#31243;&#24207;&#26102;&#38388;&#28040;&#36153;&#37327;&#65292;</span><span class="lsf">cflow<span class="_ _0"> </span><span class="ff2 ls19">&#29983;&#25104;<span class="_ _1"> </span></span></span>C<span class="_ _0"> </span><span class="ff2">&#35821;&#35328;&#27969;&#31243;&#22270;&#12290;</span> </div><div class="t m0 x3 h5 y18 ff4 fs3 fc0 sc1 ls3 ws0">&#31532;&#19977;&#31456;<span class="ff5 sc0 ls0"> <span class="_ _2"> </span></span>&#24211;&#30340;&#20351;&#29992;<span class="ff5 sc0 ls0"> </span></div><div class="t m0 x4 h4 y19 ff2 fs2 fc0 sc0 ls0 ws0">&#24211;&#20998;&#38745;&#24577;&#24211;&#21644;&#21160;&#24577;&#24211;&#20004;&#31181;&#12290;<span class="ff1"> </span></div><div class="t m0 x4 h4 y1a ff2 fs2 fc0 sc0 ls0 ws0">&#38745;&#24577;&#24211;&#30340;&#25805;&#20316;&#24037;&#20855;&#65306;<span class="ff1 ls10">ar<span class="_ _4"> </span></span>&#21629;&#20196;&#12290;<span class="ff1"> </span></div><div class="t m0 x3 h7 y1b ff2 fs4 fc0 sc1 ls1a ws0">&#32534;&#20889;&#21450;&#20351;&#29992;&#38745;&#24577;&#24211;<span class="ff3 sc0 ls0"> </span></div><div class="t m0 x4 h4 y1c ff1 fs2 fc0 sc0 ls9 ws0">(1)<span class="ff2 ls0">&#35774;&#35745;&#24211;&#28304;&#30721;<span class="_ _1"> </span></span><span class="lsf">pr1.c<span class="_ _4"> </span><span class="ff2 ls0">&#21644;<span class="_ _1"> </span></span><span class="ls1b">pr2.c </span></span></div><div class="t m0 x5 h2 y1d ff1 fs0 fc0 sc0 ls1c ws4">[root@billstone make_lib]#<span class="_ _3"></span> cat pr1.c </div><div class="t m0 x5 h2 y1e ff1 fs0 fc0 sc0 ls1d ws5">void print1() </div><div class="t m0 x5 h2 y1f ff1 fs0 fc0 sc0 ls0 ws0">{ </div><div class="c x6 y20 w2 h8"><div class="t m0 x0 h9 y21 ff6 fs5 fc1 sc0 ls0 ws0">&#26412;&#39029;&#24050;&#20351;&#29992;&#31119;&#26133;&#38405;&#35835;&#22120;&#36827;&#34892;&#32534;&#36753;&#12290;</div><div class="t m0 x0 h9 y22 ff6 fs5 fc1 sc0 ls0 ws0">&#31119;&#26133;&#36719;&#20214;&#65288;&#65315;&#65289;&#65298;&#65296;&#65296;&#65301;&#65293;&#65298;&#65296;&#65296;&#65303;&#65292;&#29256;&#26435;&#25152;&#26377;&#65292;</div><div class="t m0 x0 h9 y23 ff6 fs5 fc1 sc0 ls0 ws0">&#20165;&#20379;&#35797;&#29992;&#12290;</div></div></div><div class="pi" data-data='{"ctm":[1.611639,0.000000,0.000000,1.611639,0.000000,0.000000]}'></div></div> </body> </html>
评论
    相关推荐