[ת]Linux 2.6.19.x Äں˱àÒëÅäÖÃÑ¡Ïî¼ò½é
Linux 2.6.19.x Äں˱àÒëÅäÖÃÑ¡Ïî¼ò½é ×÷Õߣº½ð²½¹ú °æȨÉùÃ÷ ±¾ÎÄ×÷ÕßÊÇһλ×ÔÓÉÈí¼þ°®ºÃÕߣ¬ËùÒÔ±¾ÎÄËäÈ»²»ÊÇÈí¼þ£¬µ«ÊDZ¾×Å GPL µÄ¾«Éñ·¢²¼¡£ÈκÎÈ˶¼¿ÉÒÔ×ÔÓÉʹÓá¢×ªÔØ¡¢¸´ÖƺÍÔÙ·Ö·¢£¬µ«±ØÐë±£Áô×÷ÕßÊðÃû£¬Ò಻µÃ¶ÔÉùÃ÷ÖеÄÈκÎÌõ¿î×÷ÈκÎÐÎʽµÄÐ޸ģ¬Ò²²»µÃ¸½¼ÓÈκÎÆäËüÌõ¼þ¡£Äú¿ÉÒÔ×ÔÓÉÁ´½Ó¡¢ÏÂÔØ¡¢´«²¥´ËÎĵµ£¬µ«Ç°ÌáÊDZØÐ뱣֤ȫÎÄÍêÕûתÔØ£¬°üÀ¨ÍêÕûµÄ°æȨÐÅÏ¢ºÍ×÷ÒëÕßÉùÃ÷¡£ ÆäËû×÷Æ· ±¾ÎÄ×÷ÕßÊ®·ÖÔ¸ÒâÓëËûÈ˹²ÏíÀͶ¯³É¹û£¬Èç¹ûÄã¶ÔÎÒµÄÆäËû·Òë×÷Æ·»òÕß¼¼ÊõÎÄÕÂÓÐÐËȤ£¬¿ÉÒÔÔÚÈçÏÂλÖò鿴ÏÖÓÐ×÷Æ·µÄÁÐ±í£º ½ð²½¹ú×÷Æ·Áбí BUG±¨¸æ£¬ÇдèÓë̽ÌÖ ÓÉÓÚ×÷ÕßˮƽÓÐÏÞ£¬Òò´Ë²»Äܱ£Ö¤×÷Æ·ÄÚÈÝ׼ȷÎÞÎó£¬ÇëÔÚÔĶÁÖÐ×ÔÐмø±ð¡£Èç¹ûÄã·¢ÏÖÁË×÷Æ·ÖеĴíÎó£¬ÇëÄúÀ´ÐÅÖ¸³ö£¬ÄÄÅÂÊÇ´í±ð×ÖÒ²ºÃ£¬ÈκÎÌá¸ß×÷Æ·ÖÊÁ¿µÄ½¨ÒéÎÒ¶¼½«ÐéÐĽÓÄÉ¡£Èç¹ûÄãÔ¸Òâ¾Í×÷Æ·ÖеÄÏà¹ØÄÚÈÝÓëÎÒ½øÐнøÒ»²½ÇдèÓë̽ÌÖ£¬Ò²»¶ÓÄãÓëÎÒÁªÏµ¡£ÁªÏµ·½Ê½£ºMSN: csfrank122@hotmail.com Code maturity level options
´úÂë³ÉÊì¶ÈÑ¡Ïî Prompt for development and/or incomplete code/drivers ÏÔʾÉÐÔÚ¿ª·¢ÖлòÉÐδÍê³ÉµÄ´úÂëÓëÇý¶¯.³ý·ÇÄãÊDzâÊÔÈËÔ±»òÕß¿ª·¢Õß,·ñÔòÇëÎðÑ¡Ôñ General setup
³£¹æÉèÖà Local version - append to kernel release ÔÚÄں˰汾ºóÃæ¼ÓÉÏ×Ô¶¨ÒåµÄ°æ±¾×Ö·û´®(СÓÚ64×Ö·û),¿ÉÒÔÓÃ"uname -a"ÃüÁî¿´µ½ Automatically append version information to the version string ×Ô¶¯ÔÚ°æ±¾×Ö·û´®ºóÃæÌí¼Ó°æ±¾ÐÅÏ¢,±àÒëʱÐèÒªÓÐperlÒÔ¼°git²Ö¿âÖ§³Ö Support for paging of anonymous memory (swap) ʹÓý»»»·ÖÇø»òÕß½»»»ÎļþÀ´×öΪÐéÄâÄÚ´æ System V IPC System V½ø³Ì¼äͨÐÅ(IPC)Ö§³Ö,Ðí¶à³ÌÐòÐèÒªÕâ¸ö¹¦ÄÜ.±ØÑ¡,³ý·ÇÄãÖªµÀ×Ô¼ºÔÚ×öʲô IPC Namespaces IPCÃüÃû¿Õ¼äÖ§³Ö,²»È·¶¨¿ÉÒÔ²»Ñ¡ POSIX Message Queues POSIXÏûÏ¢¶ÓÁÐ,ÕâÊÇPOSIX IPCÖеÄÒ»²¿·Ö BSD Process Accounting ½«½ø³ÌµÄͳ¼ÆÐÅϢдÈëÎļþµÄÓû§¼¶ÏµÍ³µ÷ÓÃ,Ö÷Òª°üÀ¨½ø³ÌµÄ´´½¨Ê±¼ä/´´½¨Õß/ÄÚ´æÕ¼ÓõÈÐÅÏ¢ BSD Process Accounting version 3 file format ʹÓÃеĵÚÈý°æÎļþ¸ñʽ,¿ÉÒÔ°üº¬Ã¿¸ö½ø³ÌµÄPIDºÍÆ丸½ø³ÌµÄPID,µ«ÊDz»¼æÈÝÀÏ°æ±¾µÄÎļþ¸ñʽ Export task/process statistics through netlink ͨ¹ýnetlink½Ó¿ÚÏòÓû§¿Õ¼äµ¼³öÈÎÎñ/½ø³ÌµÄͳ¼ÆÐÅÏ¢,ÓëBSD Process AccountingµÄ²»Í¬Ö®´¦ÔÚÓÚÕâЩͳ¼ÆÐÅÏ¢ÔÚÕû¸öÈÎÎñ/½ø³ÌÉú´æÆÚ¶¼ÊÇ¿ÉÓÃµÄ Enable per-task delay accounting ÔÚͳ¼ÆÐÅ
Ïà¹ØÎĵµ£º
1. HCI²ãÐÒé¸ÅÊö£º
HCIÌṩһÌ×ͳһµÄ·½·¨À´·ÃÎÊBluetoothµ×²ã¡£ÈçͼËùʾ£º
´ÓͼÉÏ¿ÉÒÔ¿´³ö£¬Host Controller Interface(HCI) ¾ÍÊÇÓÃÀ´¹µÍ¨HostºÍModule¡£Hostͨ³£¾ÍÊÇPC£¬ ModuleÔòÊÇÒÔ¸÷ÖÖÎïÀíÁ¬½ÓÐÎʽ£¨USB,serial,pc-cardµÈ£©Á¬½Óµ½PCÉϵÄbluetooth Dongle¡£
ÔÚHostÕâÒ»¶Ë£ºapplication,SDP,L2capµÈÐÒé ......
linuxÏÂfile ÃüÁî
¹¦ÄÜ˵Ã÷£º±æʶÎļþÀàÐÍ¡£
Óï¡¡¡¡·¨£ºfile [-beLvz][-f <Ãû³ÆÎļþ>][-m <ħ·¨Êý×ÖÎļþ>...][Îļþ»òĿ¼...]
²¹³ä˵Ã÷£ºÍ¨¹ýfileÖ¸ÁÎÒÃǵÃÒÔ±æʶ¸ÃÎļþµÄÀàÐÍ¡£
²Î¡¡¡¡Êý£º
¡¡-b ¡¡Áгö±æʶ½á¹ûʱ£¬²»ÏÔʾÎļþÃû³Æ¡£
¡¡-c ¡¡ÏêϸÏÔʾָÁîÖ´Ðйý³Ì£¬±ãÓÚÅÅ´í»ò·ÖÎö³ÌÐòÖ´ÐеÄÇéÐΡ£
......
ÓÃlinux C ϵĺ¯Êýµ÷Óô´½¨ÖÐÎÄĿ¼¡¢ÎļþµÈ£¬×Ö·û´®µÄ±àÂë¸ñʽҪÇóÊÇutf-8¸ñʽµÄ¡£
±ÈÈçÏëҪʹÓà int mkdir(const char *pathname, mode_t mode); ´´½¨Ò»¸öÖÐÎĵÄĿ¼¡£ÄÇôpathnameµÄ±àÂë¸ñʽҪÇóÊÇutf-8µÄ£¬¶ø²»ÄÜÊÇgb3212/gbkµÄ£¬·ñÔò¾ÍÊÇÂÒÂë¡£
ÄÇôÈç¹ûlinux CÏÂÈçºÎ½øÐÐgbk<---->utf-8±àÂëת»»µÄ±àÂë×°»»µÄ ......
d Ŀ¼
l ·ûºÅÁ´½Ó(Ö¸ÏòÁíÒ»¸öÎļþ)
s Ì×½Ó×ÖÎļþ
b ¿éÉ豸Îļþ
c ×Ö·ûÉ豸Îļþ
p ÃüÃû¹ÜµÀÎļþ
- ÆÕͨÎļþ£¬»òÕ߸ü׼ȷµØ˵²»ÊôÓÚÒÔÉϼ¸ÖÖÀàÐ͵ÄÎļþ
-------------------------------------------------------------
ÎļþȨÏÞ
r´ú±í¿É¶Á
w´ú±í¿Éд
x´ú±í¿ÉÔËÐÐ µ ......
·þÎñÆ÷¶Ë£º
½¨Á¢socket£¬±¾µØµØÖ·°ó¶¨bind£¬È»ºó½¨Á¢¼àÌý£¬Èç¹ûÓпͻ§¶ËÇëÇóÔòÏìÓ¦Ö®£¬È»ºó½øÐÐÊý¾ÝµÄ·¢ËͺͽÓÊÕ
Ô´´úÂë:
#include <stdio.h>
#include <stdlib.h>
#include <sys/types.h>
#include <sys/socket.h>
#include <netinet/in.h>
#include <sys/time.h&g ......