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

linuxÏÂÁ½´ÎСÎÊÌâµ¼ÖµÄcore

Ò»¡¢Ò»¸öÒÔÇ°µÄÀÏÒµÎñ,ÀàËÆÏÂÃæÕâÑùµÄ
     int test(char * ptest)
   £û
          return  atoi(ptest);
   £ý
   Òì³£µÄʱºò£¬Ö¸ÕëÊǿյģ¬Á¢Âí¾ÍcoreµôÁË
¶þ¡¢
   int  uin = 77564267;
   printf("test:%s\n", uin);
 
  ÀàËÆÉÏÃæµÄÒ»¶Î
   coreµôÁË£¬¿½±´´úÂë¹ýÀ´µÄʱºò£¬uin´¦Ö®Ç°ÊÇ×Ö·û´®£¬ÏÖÔڸijÉuinÁË£¬Íü¼Ç¸Ä%sÁË£¬ºÇºÇ¡£¡£


Ïà¹ØÎĵµ£º

ÔÚLinuxÉÏÅäÖÃCOM¿Ú

ÔÚlinuxϵͳÉÏͬÑù¿ÉÒÔÅäÖô®¿Ú£¬Ê¹Óô®¿ÚÀ´ÓëÆäËûÉ豸½øÐÐͨÐÅ¡£
ÔÚÅäÖô®¿ÚÇ°£¬ÎÒÃÇÓÐÈ¡µÃlinuxϵͳµÄrootȨÏÞ£¬Õâ¸öºÜÖØÒª¡£·ñÔòÎÞ·¨Íê³ÉÏÂÃæ²½Öè¡£
1.Çл»µ½rootÓû§.
[root@localhost ~]#su root
2. ²éÕÒÓÐЧµÄ´®É豸.
[root@localhost ~]#cat /proc/devices
Character devices:
  1 mem
  4 /dev/v ......

LinuxÏÂÈçºÎʹÓùâÇý¼°¶ÁÈ¡·Çlinux·ÖÇøµÈ

1£©´´½¨Ò»¸öĿ¼£¬ÓÃÀ´¹ÒÉϹâÅÌĿ¼Ê÷£º mkdir /mnt/cdrom µ±È»Ä¿Â¼Ãû¿ÉÒÔ¸ù¾ÝÄã×Ô¼ºµÄÏ°¹ßÃüÃû£»
¡¡¡¡2£©²åÈë¹âÅÌ£¬Ö´ÐГmount –t iso9660 /dev/hdc /mnt/floppy”ÃüÁעÒ⣬Èç¹ûÄãµÄ¹âÇý½ÓÔÚµÚÒ»Ó²ÅÌÏߵĴÓÅÌÉÏ£¬Ð轫/dev/hdc¸ÄΪ/dev/hdb£»
¡¡¡¡3£©È»ºóÄã¾Í¿ÉÒÔͨ¹ý·ÃÎÊ/mnt/cdromÀ´ÊµÏÖ¶Ô¹âÅÌ·Ã ......

windowsÏÂÓëlinuxϵÄ΢СÇø±ð

Õâ¶Î´úÂëÔÚlinuxûÓÐЧ¹û
µ«ÊÇÔÚwidowsÏÂÈ´¿ÉÒÔÓÐЧ
posts.php
<?php
echo "<a href="\" mce_href="\""gov.php?action=logout\">logout</a>";
?>
---------------
gov.php
<?php
if($action=='logout')
{
session_unset();
session_de ......

±àÒëLinuxÄں˵ÄÏêϸ¹ý³Ì

±àÒëLinuxÄں˵ÄÏêϸ¹ý³Ì
1¡¢×¼±¸Ô´Âë
    ×îеÄÔ´Âë¿ÉÒÔ´Ókernel.orgÉÏ»ñÈ¡£¬È統ǰ×îа汾Ϊ2.6.31£º$ wget http://oss.ustc.edu.cn/linux-kernel/v2.6/linux-2.6.31.tar.bz2
    2¡¢½âѹԴÂ룺
    $ tar xvf linux-2.6.31.tar.bz2 -C /usr/src/ TIP£ºµ±È»£¬½âѹËõµ ......

LinuxÄÚºËÉ豸ģÐÍ(5)

ÒëÕߣº¹ùÉÙ±¯
2009/12/02
Ô­ÎÄ£ºlinux/Documentation/driver-model/device.txt
»ù±¾µÄÉ豸Êý¾Ý½á¹¹
~~~~~~~~~~~~~~~~~~
struct device {
        struct list_head g_list;
        struct list_head node;
      ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ