linuxÖеÄÐźŽṹÌå
typedef struct siginfo
{
int si_signo; /* Signal number.*/
int si_errno; /* If non-zero, an errno value associated with this signal, as defined in <errno.h>.*/
int si_code; /* Signal code*/
union
{
int _pad[__SI_PAD_SIZE];
struct /* kill().*/
{
__pid_t si_pid; /* Sending process ID.*/
__uid_t si_uid; /* Real user ID of sending process.*/
&n
Ïà¹ØÎĵµ£º
Service Discovery Protocol(SDP)ÌṩһÖÖÄÜÁ¦£¬ÈÃÓ¦ÓóÌÐòÓз½·¨·¢ÏÖÄÄÖÖ·þÎñ¿ÉÓÃÒÔ¼°ÕâÖÖ·þÎñµÄÌØÐÔ¡£
·þÎñ·¢ÏÖÐÒé(SDP»òBluetooth SDP)ÔÚÀ¶ÑÀÐÒéÕ»ÖжÔÀ¶ÑÀ»·¾³ÖеÄÓ¦ÓóÌÐòÓÐÌØÊâµÄº¬Ò⣬·¢ÏÖÄĸö·þÎñÊÇ¿ÉÓõĺÍÈ·¶¨ÕâЩ¿ÉÓ÷þÎñµÄÌØÕ÷¡£SDP¶¨ÒåÁËbluetooth client·¢ÏÖ¿ÉÓÃbluetooth server·þÎñºÍËüÃǵÄÌØÕ÷µÄ·½·¨¡£ ......
1. ѧ»áд¼òµ¥µÄmakefile
2. ±àһЩӦÓÃ
³ÌÐò
£¬¿ÉÒÔÓÃmakefileÅÜÆðÀ´
3. ѧ»áдÇý¶¯
µÄmakefile
4. дһ¼òµ¥charÇý¶¯£¬makefile±àÒëͨ¹ý£¬¿ÉÒÔinsmod£¬ lsmod£¬ rmmod. ÔÚÇý¶¯µÄinitº¯ÊýÀï´òÓ¡hello world£¬insmodºóÓ¦¸ÃÄܹ»Í¨¹ýdmesg¿´µ½Êä³ö
¡£
5. дһÍêÕûÇý¶¯£¬ ¼ÓÉÏread£¬ write£¬ ioctl£¬ pollingµÈ¸ ......
Linux 2.6ÄÚºËÁ´±íÊý¾Ý½á¹¹µÄʵÏÖ
ÔÚ¼ÆËã»ú¿ÆѧÖУ¬Á´±íÊǷdz£Í¨ÓõÄÊý¾Ý½á¹¹£¬¹á´©ÓÚÕû¸ölinuxµÄÄںˡ£ÔÚlinuxÄÚºËÖУ¬Á´±íͨ³£ÒÔ
Ë«Ñ»·Á´±íµÄ·½Ê½³öÏÖ¡£ËùÓÐÁ´±íµÄ´úÂëÔÚinclude/linux/list.hÎļþÖС£
¶¨ÒåÈçÏ£º
struct list_head {
struct list_head *next, *prev;
}; ......
linuxÏÂfile descriptoerÏÞÖÆ
ĬÈÏ·ÖÀà 2009-11-21 14:47 ÔĶÁ0 ÆÀÂÛ0
×ֺţº ´ó´ó ÖÐÖРСС
Tuning file descriptor limits on Linux
Linux limits the number of file descriptors that any one process may open; the default limits are 1024 p ......
linuxµÄÎļþ°²×°Â·¾¶
2006Äê07ÔÂ15ÈÕ ÐÇÆÚÁù ÉÏÎç 11:09
Èç¹ûÊDZðÈË·¢²¼µÄ¶þ½øÖÆ°ü£¬¿ÉÖ´ÐÐÎļþͨ³£¶¼°²×°µ½ /usr/bin ÏÂÃ棻Èç¹ûÊÇ×Ô¼º´ÓÔ´´úÂë°²×°µÄ£¬¿ÉÖ´ÐÐÎļþͨ³£¶¼ÔÚ /usr/local/bin ÏÂÃ棬³ý·ÇÅäÖÃʱָ¶¨ÁË°²×°Î»Öá£
ÀýÈ磺
rpm -ivh xxx1.rpm
¿ÉÖ´ÐÐÎļþͨ³£¶¼°²×°µ½ /usr/bin ÏÂÃæ
./configure (»òÕß ......