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

Çólinux time ÃüÁîµÄʵÏÖ´úÂë

ÈçÌ⣬лл

LinuxÊÇ¿ªÔ´µÄ£¬ÄãËÑË÷LinuxÔ´³ÌÐòĿ¼¾Í¿ÉÒÔÕÒµ½shellÃüÁîtimeµÄʵÏÖ´úÂë¡£

kernel/time.c

ÄãµÄÍ·ÏñºÜ²»´íѽ

ʹÓú¯ÊýtimeΪ½ø³ÌÌṩµ±Ç°µÄʱ¼ä
#include<time.h>
time_t time(time_t *t);
ÀýÈ磺
time_t cur_time;/*´æ´¢µ±Ç°Ê±¼äµÄ±äÁ¿*/
cur_time=time(NULL);/*µÃµ½µ±Ç°Ê±¼ä*/
printf(cur_time);


http://www.pudn.com/downloads84/sourcecode/unix_linux/detail324456.html

pudnÖ±½Ó¾ÍÓеÄÏÂ


time²»½ö½öÊǼÆʱ£¬Ö÷ÒªÊÇÄÜ´òÓ¡³öÀ´Óû§/ϵͳʱ¼äÖ®ÀàµÄÐÅÏ¢¡£

man getrusage

ÒýÓÃ
ÄãµÄÍ·ÏñºÜ²»´íѽ


IDÒ²±©Ç¿


Ïà¹ØÎÊ´ð£º

LinuxÈçºÎÏñwindowsÄÇÑù¸øÎļþ¼ÐÌí¼ÓÓû§

ÎÒµÄÒâ˼ÊÇ£º

ÔÚ²»¸ü¸ÄÔ­À´µÄÎļþ¼ÐËùÓÐÈË£¬ËùÓÐ×飬ÆäËûÈËȨÏÞµÄÇé¿öÏ£¬µ¥¶À¸øÎļþ¼ÐÊÚȨijÓû§

±ÈÈç/var/www Õâ¸öÎļþ¼Ð£¬Ô­À´ÏµÍ³ÓÐĬÈϵÄÊôÖ÷ºÍÊô×飬ÎÒÏÖÔÚ²»ÏëÈ¥¸ÄËüÔ­À´µÄÉ趨£¬Ö»ÊÇÏë¸øËüÔö¼ ......

LinuxÈçºÎÔÚͼÐνçÃæºÍÃüÁîÐÐÖ®¼äÇл» [

¸÷λ´óϺ£¬ÎÒÕýÔÚѧϰLinux£¬¿ÉÊÇLinuxͼÐνçÃæºÍÃüÁîÐÐÖ®¼äÇл»Óöµ½À§ÄÑ£¬ÔÚÃüÁîÐÐÏÂÊäÈëstartx£¬²»ÊǽøÈëͼÐνçÃæ 
¶øÊdzöÏÖ
ÇëÎʸ÷룬ÕâÊÇΪʲô£¿ ¶øÇÒ°´Ctrl+Alt+F7£¬Ò²²»ÄÜÃüÁîÐнøÈëͼÐνçÃæ¡£&nbs ......

Fedora LinuxÏÂjavaÖÐÎÄÎÊÌâ¡£

RT
javaµÄһЩ½çÃæÊÇ·½¿é¡£Ó¦¸ÃÊÇ×Ö·ûÎÊÌâ°É¡£
ÎÒÓõÄÊÇFedora11.ÇëÎÊÔõô½â¾ö°¡£¿
°££¬Ã»ÓÐÈ˻شðÎÒ

òËÆlinuxϵÄ×Ö·ûÊÇutf-8 ÊÇÓÃeclipseô£¿ ÊǵĻ°£¬°ÑËü¸Ä»Øgbk¾Í¿ÉÒÔÁË¡£

ϵͳÖÐÎÄ×ÖÌå°²×°ÁËÂð£¿
Ä ......

linux ÏÂC±à³Ì¹¤¾ßÎÊÌâ Çë½Ì - C/C++ / CÓïÑÔ

linux ÏÂC±à³Ì ¼¯³É¿ª·¢»·¾³ ÓÃʲô±È½ÏºÃ 
ÎÒ³õ²½Ñ¡¶¨ codeblock 
ºÇºÇ »¹ÓÐ ÔÚlinux дÁËÒ»¸ö´òÓ¡ÖÐÎĵĴúÂ룬¶ø½ñÌìÔÚwindows ϲ鿴ÄǸö´úÂë £¬ ÊÇÂÒÂë ¶øºóÏëµ½ÏÈÓà EditPlusÏȽøÐб༭ È»ºó¸´ÖÆ ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ