|
|||||||
|
|
FTIMESection: Linux Programmer's Manual (3)Updated: 24 July 1993 Index Return to Main Contents ̾Á°ftime - ÆüÉդȻþ´Ö¤òÊÖ¤¹½ñ¼°#include <sys/timeb.h>int ftime(struct timeb *tp); ÀâÌÀ¸½ºß¤ÎÆüÉդȻþ´Ö¤ò tp ¤ËÊÖ¤¹¡£ tp ¤Ï¡¢°Ê²¼¤Î¤è¤¦¤ËÄêµÁ¤µ¤ì¤Æ¤¤¤ë:
struct timeb {
time_t time;
unsigned short millitm;
short timezone;
short dstflag;
};
¤³¤Î¹½Â¤ÂΤϰʲ¼¤Î¥á¥ó¥Ð¤¬´Þ¤Þ¤ì¤ë: µª¸µ(the epoch)¤«¤é¤ÎÉÿô¡¢1000¥ß¥êÉäޤǤΤè¤êºÙ¤«¤¤»þ´Ö¡¢ ¥í¡¼¥«¥ë¥¿¥¤¥à¥¾¡¼¥ó(¥°¥ê¥Ë¥Ã¥¸¤«¤éÀ¾¼þ¤ê¤Îʬ¤Ç·×¬¤µ¤ì¤ë)¡¢ ¤â¤·0¤Ç¤Ê¤±¤ì¤Ð²Æ»þ´Ö¤Ç¤¢¤ë¤³¤È¤ò¼¨¤¹¥Õ¥é¥°¡£ ÊÖ¤êÃͤ³¤Î´Ø¿ô¤Ï¾ï¤Ë 0 ¤òÊÖ¤¹¡£¥Ð¥°millitm¥Õ¥£¡¼¥ë¥É¤Ï¡¢libc4¤Èlibc5¤Ç¤ÏÀµ¤·¤¯Æ°ºî¤¹¤ë¡£ ¤·¤«¤·¡¢glibc2¤Ç¤Ï¥Ð¥°¤¬¤¢¤ê¡¢¾ï¤Ë0¤òÊÖ¤¹¡£ glibc 2.1.1¤«¤éºÆ¤ÓÀµ¾ï¤Ë¤Ê¤Ã¤¿¡£Îò»Ëftime ´Ø¿ô¤Ï4.2BSD¤Ë¸½¤ì¤¿¡£½àµòBSD 4.2Ãí°Õ¤³¤Î´Ø¿ô¤Ï gettimeofday(2) ¤Ë¤è¤Ã¤Æ¤â¤Ï¤äÍѤ¤¤é¤ì¤Ê¤¯¤Ê¤Ã¤¿¡£´ØÏ¢¹àÌÜtime(2)
Index | ||||||
|
|
|
Home :: Copyright :: Privacy :: Credits :: Get a free Linuxinfor Email Account Document on this page is part of "Linuxinfor Man Pages in HTML Format: man3". See Index Page for more info about Authorship and Copyright. 1999-2008 Linuxinfor.com. No rights reserved. |