Ò׽ؽØÍ¼Èí¼þ¡¢µ¥Îļþ¡¢Ãâ°²×°¡¢´¿ÂÌÉ«¡¢½ö160KB

linux¶à½ø³Ì±à³Ì

 ÔÚlinuxÖÐ,ÔËÐеÄÒ»¸ö½ø³Ì,»áռȥlinuxµÄÈý¸öµØ·½,´úÂëÇø,¶ÑÕ»ÇøºÍÊý¾ÝÇø.Èç¹ûͬʱÔËÐжà¸öÏàͬµÄ³ÌÐò,ËûÃǾͻáʹÓÃÏàͬµÄ´úÂëÇø,´úÂëÇøÖдæ·ÅµÄ¾Í³ÌÐòµÄ´úÂë,µ«ÊÇÊý¾ÝÇøºÍ¶ÑÕ»Çø·Ö±ð´æ·ÅµÄÊdzÌÐòµÄÊý¾Ý,È«¾Ö±äÁ¿ºÍ¾Ö²¿±äÁ¿,Òò´Ë¼´Ê¹ÊÇÏàͬµÄ³ÌÐò,Ò²²»¿ÉͬʱʹÓÃÏàͬµÄÊý¾ÝºÍ¶ÑÕ»Çø.
#include<stdio.h>
#include<unistd.h>
int main()
{
     if(fork() == 0)
     {
          printf("First.\n");
          if(fork() == 0)
          {
               printf("Second.\n");
          }
          else
          {
               printf("Third.\n");
           }
     }
     else
     {
          printf("Fourth.\n");
          if(fork() == 0)
          {
               printf("Fivth.\n");
           }
           else
           {
               printf("Sixth.\n");
            }
      }
}
¿ÉÒÔ¹Ø×¢Ï³ÌÐòµÄÔËÐнá¹û,ÒÔ¼°Êä³öµÄ˳Ðò,²¢Àí½âΪʲôÊÇÕâÖÖÊä³ö½á¹û


Ïà¹ØÎĵµ£º

ʵսLinux Bluetooth±à³Ì (Æß) SDPЭÒé

Service Discovery Protocol(SDP)ÌṩһÖÖÄÜÁ¦£¬ÈÃÓ¦ÓóÌÐòÓз½·¨·¢ÏÖÄÄÖÖ·þÎñ¿ÉÓÃÒÔ¼°ÕâÖÖ·þÎñµÄÌØÐÔ¡£
·þÎñ·¢ÏÖЭÒé(SDP»òBluetooth SDP)ÔÚÀ¶ÑÀЭÒéÕ»ÖжÔÀ¶ÑÀ»·¾³ÖеÄÓ¦ÓóÌÐòÓÐÌØÊâµÄº¬Ò⣬·¢ÏÖÄĸö·þÎñÊÇ¿ÉÓõĺÍÈ·¶¨ÕâЩ¿ÉÓ÷þÎñµÄÌØÕ÷¡£SDP¶¨ÒåÁËbluetooth client·¢ÏÖ¿ÉÓÃbluetooth server·þÎñºÍËüÃǵÄÌØÕ÷µÄ·½·¨¡£ ......

Linux϶¯Ì¬¿âµÄÉú³É¼°Á´½Ó·½·¨(1)

               Linux϶¯Ì¬¿âµÄÉú³É¼°Á´½Ó·½·¨ £¨1£©
      Linux ϶¯Ì¬¿âÎļþµÄÀ©Õ¹ÃûΪ".so"£¨Shared Object£©¡£°´ÕÕÔ¼¶¨£¬ËùÓж¯Ì¬¿âÎļþÃûµÄÐÎʽÊÇlibname.so£¨¿ÉÄÜÔÚÃû×ÖÖмÓÈë°æ±¾ºÅ£©¡£ÕâÑù£¬Ï̺߳¯Êý¿â±»³Æ×÷ ......

LinuxÁ÷Á¿¿ØÖÆ1

LinuxÁ÷Á¿¿ØÖÆ1--ÅŶӹæÔò
2008-07-31 15:26
Linux²Ù×÷ϵͳÖеÄÁ÷Á¿¿ØÖÆ¿ò¼Ü´´½¨ÁËÒ»¸öͨÓû·¾³£¬Ëü¼¯³ÉÁËËùÓÐÓÃÓÚÏÞÖÆºÍÁ÷Á¿ÕûÐεĿÉÒÔ»¥ÁªµÄ²»Í¬ÔªËØ¡£ÔÚʵ¼Ê²Ù×÷ÖÐÕâÐ©ÔªËØÉõÖÁ¿ÉÒÔ×÷Ϊһ¸öÄ£¿é¶¯Ì¬µØ¼ÓÔØºÍÐ¶ÔØ¡£
 
TC£¨Traffic Control£©¹¤¾ßÌṩÁËÒ»¸öÃüÁîÐÐÓû§½Ó¿ÚÀ´ÅäÖÃLinuxÁ÷Á¿¿ØÖÆ¡£¸Ã¹¤¾ßÈÃÓû§¿ÉÒÔÉ ......

linuxÆô¶¯ÐÅÏ¢ÍêÈ«Ïê½â Àý×Ó

 ÕªÒª
ÎÒÃÇÔÚÕâÀïÌÖÂÛµÄÊǶÔǶÈëʽlinuxϵͳµÄÆô¶¯¹ý³ÌµÄÊä³öÐÅÏ¢µÄ×¢ÊÍ£¬Í¨¹ýÎÒÃǵÄÌÖÂÛ£¬´ó¼Ò»á¶ÔǶÈëʽlinuxÆô¶¯¹ý³ÌÖгöÏֵġ¢ÒÔǰ¸Ð¾õÊìϤµÄ¡¢µ«È´ÓÖËÆÊǶø·ÇµÄ¶«Î÷ÓÐÒ»¸öÈ·ÇеÄÁ˽⣬²¢ÇÒÄÜÁ˽⵽ÕâЩÊä³öÐÅÏ¢µÄÀ´ÁúÈ¥Âö¡£
ǶÈëʽlinuxµÄÆô¶¯ÐÅÏ¢ÊÇÒ»¸öºÜÖµµÃÎÒÃÇÈ¥ºÃºÃÑо¿µÄ¶«Î÷£¬ËüÄܽ«Ò»·ùËõӰͼ³ÊÏÖÔÚÎÒà ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØÍ¼ | ¸ÓICP±¸09004571ºÅ