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

linux ÖÐ×¢ÒâÊÂÏî

£¨1£©exit()Óë_exit()Çø±ð£º _exit()Ö±½Óʹ½ø³ÌÍ£Ö¹ÔËÐУ¬Çå³ýÆ÷ʹÓõÄÄÚ´æ¿Õ¼ä£¬Ïú»ÙÆäÔÚÄÚºËÖеĸ÷ÖÖÊý¾Ý½á¹¹¡£
   exit()º¯ÊýÔÚµ÷ÓÃexitϵͳµ÷ÓÃ֮ǰҪ¼ì²éÎļþµÄ´ò¿ªÇé¿ö£¬°ÑÎļþ»º³åÇøÖеÄÄÚÈÝд»ØÎļþ£¬ÇåÀíI/O»º³å£¨ÍƼöʹÓÃÕâ¸öº¯Êý£©
£¨2£©waitpid
      #include <sys/types.h>
      #include <sys/wait.h>
       pid_t  waitpid( pid_t pid, int *status,  int options );
       ÆäÖУºpidÈ¡Öµ²»Í¬£¬ÒâÒ岻ͬ£º
        pid > 0ʱ£¬ Ö»µÈ´ý½ø³ÌID=pidµÄ×Ó½ø³Ì£¬²»¹ÜÆäËûÒѾ­ÓжàÉÙ×Ó½ø³ÌÔËÐнáÊøÍƳöÁË£¬Ö»ÒªÖ¸¶¨µÄ×Ó½ø³Ì»¹Ã»ÓнáÊø£¬waitpid¾Í»áÒ»Ö±µÈÏÂÈ¥£»
        pid = -1ʱ£¬ µÈ´ýÈκÎÒ»¸ö×Ó½ø³ÌÍ˳ö£¬Ã»ÓÐÈκÎÏÞÖÆ£¬´Ëʱwaitpid ºÍwaitµÄ×÷ÓÃÒ»ÃþÒ»Ñù£»
        pid = 0 ʱ£¬ µÈ´ýͬһ½ø³Ì×éÖеÄÈκÎ×Ó½ø³Ì£¬Èç¹û×Ó½ø³ÌÒѾ­¼ÓÈëÁ˱ðµÄ½ø³Ì×飬waitpid²»»á¶ÔËü×öÈκÎÀí²Ç£»
        pid <¡¡£­£±Ê±£¬¡¡µÈ´ýÒ»¸öÖ¸¶¨½ø³Ì×éÖеÄÈκÎ×Ó½ø³Ì£¬Õâ¸ö½ø³Ì×éµÄ£É£ÄµÈÓÚ£ð£é£äµÄ¾ø¶ÔÖµ


Ïà¹ØÎĵµ£º

ÔÚCentOS 5 »òRed Hat Enterprise Linux°²×°ÓïÑÔ°ü


Q. How do I install Languages in Linux after installation? I don’t have any language specific support installed but need to install the same. I’m using both RHEL 5 and CentOS 5.
A. Yellow dog Updater, Modified, a package manager for RPM-compatible Linux systems such as Cento ......

redhat linux 5ÏÂoracle10.2°²×°×ܽá

ÔÚlinuxÏ°²×°oracleÊǼþ·±ËöµÄÊÂÇé¡£¾ßÌåÀ´½²·ÖΪһϼ¸´ó²½£º
1.ÐÞ¸Äϵͳ°æ±¾
vi /etc/redhat-release
×¢Ê͵ôµÚÒ»ÐУ¬Ìí¼ÓÒ»ÐУºredhat-4
2.°²×°Èí¼þ°ü
rpm -Uvh setarch-2*
rpm -Uvh make-3*
rpm -Uvh glibc-2*
rpm -Uvh libaio-0*
rpm -Uvh compat-libstdc++-33-3*
rpm -Uvh compat-gcc-34-3*
rpm -Uvh comp ......

Linux£º¹Ò½Ó(mount)ÃüÁîµÄʹÓ÷½·¨

³ö´¦£ºhttp://bbs.java.ccidnet.com
¹Ò½ÓÃüÁî(mount)
¡¡¡¡Ê×ÏÈ£¬½éÉÜһϹҽÓ(mount)ÃüÁîµÄʹÓ÷½·¨£¬mountÃüÁî²ÎÊý·Ç³£¶à£¬ÕâÀïÖ÷Òª½²Ò»Ï½ñÌìÎÒÃÇÒªÓõ½µÄ¡£
¡¡¡¡ÃüÁî¸ñʽ£º
¡¡¡¡mount [-t vfstype] [-o options] device dir
¡¡¡¡ÆäÖУº
¡¡¡¡1.-t vfstype Ö¸¶¨ÎļþϵͳµÄÀàÐÍ£¬Í¨³£²»±ØÖ¸¶¨¡£mount »á×Ô¶¯Ñ¡ÔñÕýÈ· ......

linux frame buffer grab

linuxµÄÇý¶¯¾ÍÊǸö×Ö·ûÉ豸£¬¿ÉÒÔÓÃread write ioctl mmap²Ù×÷£¬Í¨¹ý/dev/fbx¿ÉÒÔÏñÎļþÒ»ÑùÖ±½Ó¶Áд
½ØÆÁdd if=/dev/fb0 of=snapshot
»Ö¸´cat snapshot > /dev/fb0
¿ªÔ´µÄÓÐfbgrab¹¤¾ß£¬²»¹ýÊÇÉú³ÉpngÎļþ£¬ÎÒ×Ô¼ºÐ´ÁËÒ»¸öÉú³ÉbmpÎļþµÄ¹¤¾ß½Ðfbcap£¬Â¼ÖƳÉavi¸ñʽ£¬Í¨¹ýsocket»òserial°ÑÉ豸µÄ²Ù×÷·¢Ë͵½hostÉÏ£º£ ......

LinuxÉ豸Çý¶¯³ÌÐò¿ª·¢Á÷³ÌʾÀý

ÒÔϵÄһЩÎÄ×ÖÖ÷ÒªÀ´Ô´ÓÚkhg£¬johnsonmµÄWrite linux device driver£¬Brennan's Guide to Inline Assembly£¬The Linux A-Z£¬»¹ÓÐÇ廪BBSÉϵÄÓйØdevice driverµÄһЩ×ÊÁÏ. ÕâЩ×ÊÁÏÓеÄÒѾ­¹ýʱ£¬ÓеĻ¹ÓÐһЩ´íÎó£¬ÎÒÒÀ¾Ý×Ô¼ºµÄÊÔÑé½á¹û½øÐÐÁËÐÞÕý.
Ò»¡¢Linux device driver µÄ¸ÅÄî
    ϵͳµ÷ÓÃÊDzÙ× ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ