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

fork compare to exec in linux c program

pid_t  pid=fork()
it has 3 situation for the return result pid
0  child
>0 parent process
<0 fork fail
fork create a new process  and it parent live alse when the child process had been created


Ïà¹ØÎĵµ£º

LinuxÄÚºËÅäÖÃÎĵµ(make menuconfig)

Ò»¡¢ÒýÑÔ£º
    ±¾ÎĵµµÄÄÚÈݴ󲿷ÝÄÚÈݶ¼ÊÇ´ÓÍøÉÏÊÕ¼¯¶øÀ´£¬È»ºóÅäºÏһЩеĽØͼ£¨Äں˰汾£ºV2.4.19£©¡£ÔÚÿһÅäÖÃÏîºó»áÓÐÒ»¸öÑ¡ÔñÖ¸ÄϵIJ¿·Ý£¬ÓÃÀ´Ö¸µ¼´ó¼ÒÔõôÑù¸ù¾Ý×Ô¼ºµÄÇé¿öÀ´×öÏàÓ¦µÄÑ¡Ôñ£»»¹ÓÐÔÚÿһ¸ö´óÏîºÍÎĵµµÄ×îºó»áÓÐÒ»¸ö¾­Ñé̸£¬ËüÊÇһЩ¸ßÊÖÃÇÔÚÓ¦¶ÔÎÊÌâºÍ´¦ÀíÌØÓÐÓ²¼þʱµÄһЩ¾­Ñ飨Õâ¸ö»¹µ ......

Linux Webcam and TV¡¾Linux ÉãÏñÍ· ºÍ µçÊÓ¡¿

 HowTo WebCam On Linux
Five fun ways to use a Linux webcam
http://www.linux.com/archive/articles/126186
The Webcam HOWTO
http://tldp.org/HOWTO/html_single/Webcam-HOWTO/
WebCam under Linux
http://www.seismo.ethz.ch/linux/webcam.html
‘Webcams in Linux, Part 1
http://www.linuxplanet. ......

Gambas£ºLinux Ï嵀 Basic

¼ò½é
Basic ÊÇʹÓõÄ×î¹ã·ºµÄ¡¢×î¼òµ¥µÄ±à³ÌÓïÑÔÖ®Ò»£¬ÓÈÆäÊǶÔÓÚÐÂÊÖ¡£ Æù½ñΪֹ£¬×î³£ÓÃµÄ Basic ¿ª·¢»·¾³ÊÇ Microsoft µÄ Visual Basic ¼¯³É¿ª·¢»·¾³¡£ ½üÀ´£¬Linux µÄʹÓ÷¶Î§ÒѾ­ÑÓÉìµ½ÁË×ÀÃæ»·¾³¡£´Ó×î³õµÄ½öÏÞÓÚ·þÎñÆ÷Ó¦Óã¬Ê¹µÃÈ˶¼ÊÇÁìµ¼Õߣ¬ËüÕýÔÚ±ä³ÉÒ»¸ö¿Í»§¶Ë¼ÆËã»úµÄ²Ù×÷ϵͳ£¬Âú×ãÁËÀàËÆÔĶÁµç×ÓÓʼþ¡¢ÉÏÍø ......

Linux Shell ±Ê¼Ç¶þ(Ñ­»·½á¹¹)

³ÌÐò12£ºÀàËÆjava ÀïÃæµÄswitch case
[root@localhost scripts]# cat sh12.sh
read -p "input comand:" command
case $command in
"fix")
echo "fix system"
;;
"fuck")
echo "fuck you"
;;
*)
echo "what a stupid man!ex>$0 some word"
......

linuxϵĵ÷ÊÔ¹¤¾ß


linuxϵĵ÷ÊÔ¹¤¾ß
   Ëæ×ÅXPµÄÁ÷ÐУ¬ÈËÃÇÔ½À´Ô½×¢ÖØÈí¼þµÄÇ°ÆÚÉè¼Æ¡¢ºóÆÚµÄʵÏÖ£¬ÒÔ¼°¹á´©ÓÚÆäÖеIJâÊÔ¹¤×÷£¬¾­¹ýÕâ¸ö¹ý³Ì³öÀ´µÄ×ÔÈ»ÊǸßÖÊÁ¿µÄÈí¼þ¡£ÉõÖÁÓÐÈËÉù³ÆXP »áÌÔÌ­µ÷ÊÔÆ÷£¡Õ⵱ȻÊÇÓÐÒ»¶¨µÀÀíµÄ£¬È»¶ø¾ÍÄ¿Ç°µÄÏÖʵÀ´¿´£¬Õ⻹ÊÇÒ»ÖÖÀíÏë¡£ÔÚÈÕ³£¹¤×÷ÖУ¬µ÷ÊÔ¹¤¾ß»¹ÊDZز»¿ÉÉٵġ£ÔÚLinuxÏ£¬µ÷ÊÔ¹¤¾ ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ