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

linuxÏÂÃ涨ʱ


alarm
       Èç¹û²»ÒªÇóºÜ¾«È·µÄ»°£¬Óà alarm() ºÍ signal() ¾Í¹»ÁË 
       unsigned int alarm(unsigned int seconds)      
       ʾÀý£º
       #include <stdio.h>
       #include <unistd.h>
       #include <signal.h>
       void sigalrm_fn(int sig)
       {
               /* Do something */
               printf("alarm!\n");
               alarm(2);
               return;
       }
       int main(void)
       {
               signal(SIGALRM, sigalrm_fn);
               alarm(2);
               /* Do someting */
               while(1) pause();
       }
  2.  setitimer
       int setitimer(int which, const struct itimerval *value, struct itimerval *ovalue)); 
       3ÖÖÀàÐ͵Ķ¨Ê±Æ÷£º
       ITIMER_REAL :  ÒÔϵͳÕæʵµÄʱ¼äÀ´¼ÆË㣬ËüËͳöSIGALRMÐźš£  
       ITIMER_VIRTUAL :  ÒÔ¸ÃÐгÌÕæÕýÓÐÖ´ÐеÄʱ¼äÀ´¼ÆËã£


Ïà¹ØÎĵµ£º

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

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

£¨×ªÔØ£©£¨Ö¸Òý×Ô¼º£©Linuxѧϰ·ÉϵÄÌå»á£¨£©


[ת]Õâ¸öÌâÄ¿ºÜ´ó£¬¸øÈËÒ»ÖָоõÎÒºÃÏñºÜ³É¹¦£¬Æäʵ²»È»¡£Êµ¼ÊÉÏ×Ô¼ºË®Æ½²»¸ß£¬ÉõÖÁºÜµÍ£¬µ«ÊÇ×ö¹ýÁËһЩÇúÕÛµÄѧϰµÀ·£¬Í¬Ê±°Ñ×Ô¼ºÕæʵµÄѧϰÀú³Ì±í´ï³öÀ´£¬Ï£Íû¶ÔºóÀ´ÕßÓнè¼øµÄÒâÒ壬ÉõÐÒ£¡
¹¤×÷ÈýÄê¡¢¼¸³É·ÏÈË£¡
ÎÒ2000Äê±ÏÒµÓÚ»ªÖеØÇøµÄÒ»¸öÀí¹¤¿Æ´óѧ£¬×¨ÒµÊÇ»úеµç×Ó£¬ÎÒµ±Ê±ÒѾ­Ç©ÁËÒ»¼ÒÄÚ½ij¸öÊ¡¼¶»ú¹Ø¹¤× ......

LinuxÏÂgsoapµÄ°²×°

ϵͳ£ºRHEL 5.1 & 5.3
gsoapÊǸöºÃ¶«¶«£¬Ëü¿ÉÄܺܺÃ×°£¬¿ÉÄÜÒ²ºÜÄÑ×°£¬È¡¾öÓÚÄãµÄϵͳÒѾ­°²×°ÁËʲô¿ª·¢°ü¡£
ÎÒÔÚ¶ą̀RHELÐéÄâ»ú£¨32bit & 64bit£©ÉϾù°²×°ÁËgsoap£¬ÆäÖÐÓÐһ̨ÊÇconfigureÖ®ºóÖ±½Ómake¾Í¸ã¶¨ÁË£¬ÁíÍâÁ½Ì¨¶¼ÊÇ»¹ÒªÕÛÌںܶàÆäËû¶«Î÷µÄ¡£
ÆäÖÐÓм¸¸öÐèҪ˵Ã÷µÄµØ·½ÊÇ£º
£¨1£©°²×°gsoap£¬ÄãÐèÒªÏÈ ......

ÖØ×°windowsºóÈçºÎ»Ö¸´linux·ÖÇø


Óð²×°¹âÅÌÒýµ¼ÏµÍ³ 
--> ¼üÈëlinux rescue½øÈë¾ÈԮģʽ 
--> skipýÌå¼ì²é,Ñ¡ÔñÓïÑÔ,¼üÅÌ,Ñ¡continue½øÈëconsole(ÃüÁîÐÐ)ģʽ 
--> chroot /mnt/sysimage --> grub-install /dev/hda(Èç¹ûÓÃlilo,ÓÃÃüÁîlilo) 
--> restart
ɾ³ýlinux·ÖÇøÈçºÎ»Ö¸´windows·ÖÇø
ÓÃwindowsÆô¶¯ÅÌÆô ......

linux diff(differential) ÃüÁîÏê½â

¹¦ÄÜ˵Ã÷£º±È½ÏÎļþµÄ²îÒì¡£
Óï¡¡¡¡·¨£ºdiff [-abBcdefHilnNpPqrstTuvwy][-<ÐÐÊý>][-C <ÐÐÊý>][-D <¾Þ¼¯Ãû³Æ>][-I <×Ö·û»ò×Ö·û´®>][-S <Îļþ>][-W <¿í¶È>][-x <Îļþ»òĿ¼>][-X <Îļþ>][--help][--left-column][--suppress-common-line][Îļþ»òĿ¼1][Îļþ»òĿ¼2]
²¹³ä ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ