亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關(guān)于我們
? 蟲蟲下載站

?? ansitime.c

?? vxwork源代碼
?? C
?? 第 1 頁 / 共 3 頁
字號:
/* ansiTime.c - ANSI `time' documentation *//* Copyright 1992-2001 Wind River Systems, Inc. *//*modification history--------------------01p,05oct01,dcb  Fix SPR 9814, SPR 7736, SPR 62831 and SPR 7191.01o,12mar99,p_m  Fixed SPR 8225 by putting asctime output in uppercase.01n,11jul97,dgp  doc: SPR 7651 need list of non-reentrant functions01m,20jan97,dbt  modified comment for tm_sec (SPR #4436).01l,15oct96,dbt  Used reentrant version of ldiv in getTime (fixed SPR #3795).01k,04oct96,dbt  reworked the fix for SPR #7277.01j,03oct96,dbt  use memcpy with 'strlen + 1' instead of 'strlen' (SPR #7277)01i,12aug96,dbt  modified __getTime to treat time_t as an unsigned (SPR #6178).01h,30jul96,dbt  In function mktime, if tm_isdst flag is true substract one 		 hour from timeIs (SPR #6954). 		 Updated copyright.01g,25jul96,dbt  modified function __jullday (for leap year just test month > 1)	       	 modified call to jullday in __getTime in order to give it a	         year as found in a tm structure, e.g. "96" (SPR #4251)		 corrected localtime_r (SPR #2521).                 timeBuffer must be initialized before a call of __getDstInfo. 		 corrected __getDstInfo() (spr 2521)		 Updated copyright.01h,25jul96,dbt  fixed warnings in mktime.c.01g,16feb95,rhp  doc tweaks, and synch with subsidiary files01f,15sep94,rhp  fixed TIMEZONE example in comment (related to SPR #3490);		 reduced duplication between man page and comments01e,17aug93,dvs  changed TIME to TIMEO to fix conflicting defines (SPR #2249)01d,13mar93,jdi  doc tweak.01c,05feb93,jdi  doc: clarified TIMEZONE string - SPR 1977;		 clarified that TIMEZONE is environment variable - SPR 1974.01b,13nov92,dnw  changed slong_t decls to long01a,24oct92,smb  written.*//*  DESCRIPTION  The header time.h defines two macros and declares four types and severalfunctions for manipulating time.  Many functions deal with a `calendar time'that represents the current date (according to the Gregorian calendar)and time.  Some functions deal with `local time', which is the calendartime expressed for some specific time zone, and with Daylight Saving Time,which is a temporary change in the algorithm for determining local time.The local time zone and Daylight Saving Time are implementation-defined..SS MacrosThe macros defined are NULL and:.iP `CLOCKS_PER_SEC' 12the number of ticks per second..LP.SS TypesThe types declared are `size_t' and:.iP "`clock_t', `time_t'" 12arithmetic types capable of representing times..iP "`struct tm'"holds the components of a calendar time in what is known as "broken-down time." The structure contains at least the following members, in any order.The semantics of the members and their normal ranges are expressed in thecomments..TStab(|);l1p9f3 l1 l.int tm_sec;   | seconds after the minute | - [0, 59]int tm_min;   | minutes after the hour   | - [0, 59]int tm_hour;  | hours after midnight     | - [0, 23]int tm_mday;  | day of the month         | - [1, 31]int tm_mon;   | months since January     | - [0, 11]int tm_year;  | years since 1900int tm_wday;  | days since Sunday        | - [0, 6]int tm_yday;  | days since January 1     | - [0, 365] int tm_isdst; | Daylight Saving Time flag.TEThe value of `tm_isdst' is positive if Daylight Saving Time is in effect, zeroif Daylight Saving Time is not in effect, and negative if the informationis not available..LPIf the environment variable TIMEZONE is set, the information is retrieved fromthis variable, otherwise from the locale information.TIMEZONE is of the form:.ft CB    <name_of_zone>:<(unused)>:<time_in_minutes_from_UTC>:<daylight_start>:<daylight_end>.ft 1To calculate local time, the value of <time_in_minutes_from_UTC> is subtractedfrom UTC; <time_in_minutes_from_UTC> must be positive.Daylight information is expressed as mmddhh (month-day-hour), forexample:.CS    UTC::0:040102:100102.CEREENTRANCYWhere there is a pair of routines, such as div() and div_r(), only the routinexxx_r() is reentrant.  The xxx() routine is not reentrant. INCLUDE FILES: time.hSEE ALSO: ansiLocale, American National Standard X3.159-1989 *//*Documentation for the ANSI C time library.========================================== Locale Information------------------ The time locale information is stored in the file __timeloc.c. Thisstructure consists of        + The days of the week in abbreviated form        + The days of the week        + Months of the year in abbreviated form        + Months of the year        + date and time representation for this locale        + representation for AM.PM        + Time zone information (discussed below )        + Day light saving information (discussed below )If you want to, for example, use the french translation for the daysof the week, then this file could be copied into another filee.g. __frtimeloc.c and the days and months representation in french. Afull compile is neccessary.  This means that when using strftime orasctime the days and months will be in French!Maintaining a table of the possible locale variations would mean largelinked lists of tables and is not appropriate for this system.Maybe later we can provide a mechanism for replacing this table by atable defined by the user at system initialisation.The zone and daylight information may also be set to represent thelocal environment.ZONE & Daylight Saving----------------------The first three fields of TIMEZONE are represented in the locale structureby the time zone information area and the day light saving area of thelocale structure is of the same form as the last two fields.The TIMEZONE environment variable can be set by the user to reflect the localeenvironment.SEE ALSO: American National Standard X3.159-1989 NOMANUALINTERNALThis documentation module is built by appending the following files:    asctime.c    clock.c    ctime.c    difftime.c    gmtime.c    localtime.c    mktime.c    strftime.c    time.c*//* asctime.c - asctime file for time.h *//* Copyright 1992-1993 Wind River Systems, Inc. *//*modification history--------------------01c,05feb93,jdi  documentation cleanup for 5.1.01b,20sep92,smb  documentation additions01a,25jul92,smb  written.*//* DESCRIPTION  INCLUDE FILE: time.h  SEE ALSO: American National Standard X3.159-1989NOMANUAL*/ #include "vxWorks.h"#include "time.h"#include "private/timeP.h"/****************************************************************************** asctime - convert broken-down time into a string (ANSI)** This routine converts the broken-down time pointed to by <timeptr> into a* string of the form:* .CS*	SUN SEP 16 01:03:52 1973\en\e0* .CE** This routine is not reentrant.  For a reentrant version, see asctime_r().** INCLUDE FILES: time.h** RETURNS: A pointer to the created string.*/char * asctime    (    const struct tm *timeptr	/* broken-down time */    )    {    size_t           len = sizeof (ASCBUF);    static char      asctimeBuf [sizeof (ASCBUF)];    asctime_r (timeptr, asctimeBuf, &len);    return (asctimeBuf);    }/****************************************************************************** asctime_r - convert broken-down time into a string (POSIX)** This routine converts the broken-down time pointed to by <timeptr> into a* string of the form:* .CS*	SUN SEP 16 01:03:52 1973\en\e0* .CE* The string is copied to <asctimeBuf>.** This routine is the POSIX re-entrant version of asctime().** INCLUDE FILES: time.h** RETURNS: The size of the created string.*/int asctime_r    (    const struct tm *timeptr,		/* broken-down time */    char *           asctimeBuf,	/* buffer to contain string */    size_t *         buflen		/* size of buffer */    )    {    size_t           size;    size = strftime (asctimeBuf,              	     *buflen,             	     "%a %b %d %H:%M:%S %Y\n\0",              	     timeptr);    return ((int) size);    }/* clock.c - clock file for time.h *//* Copyright 1992-1993 Wind River Systems, Inc. *//*modification history--------------------01d,05oct01,dcb  Fix SPR 9814 and SPR 7736.01c,05feb93,jdi  documentation cleanup for 5.1.01b,20sep92,smb  documentation additions01a,25jul92,smb  written.*//*  DESCRIPTION    INCLUDE FILE: time.h     SEE ALSO: American National Standard X3.159-1989 NOMANUAL*/#include "vxWorks.h"#include "time.h"/******************************************************************************** clock - determine the processor time in use (ANSI)** This routine returns the implementation's best approximation of* the processor time used by the program since the beginning of an* implementation-defined era related only to the program invocation.* To determine the time in seconds, the value returned by clock()* should be divided by the value of the macro CLOCKS_PER_SEC.  If the* processor time used is not available or its value cannot be* represented, clock() returns -1.** NOTE:* This routine always returns -1 in VxWorks.  VxWorks does not track* per-task time or system idle time.  There is no method of determining* how long a task or the entire system has been doing work.  tickGet()* can be used to query the number of system ticks since system start.* clock_gettime() can be used to get the current clock time.** INCLUDE FILES: time.h** RETURNS: -1** SEE ALSO: tickGet(), clock_gettime()*/clock_t clock (void)    {    return ((clock_t) -1);    }/* ctime.c - ctime file for time *//* Copyright 1992-1993 Wind River Systems, Inc. *//*modification history--------------------01c,05feb93,jdi  documentation cleanup for 5.1.01b,20sep92,smb  documentation additions01a,25jul92,smb  written.*//*  DESCRIPTION    INCLUDE FILE: time.h   SEE ALSO: American National Standard X3.159-1989 NOMANUAL*/#include "vxWorks.h"#include "time.h"#include "private/timeP.h"/********************************************************************************* ctime - convert time in seconds into a string (ANSI)** This routine converts the calendar time pointed to by <timer> into local* time in the form of a string.  It is equivalent to:* .CS*     asctime (localtime (timer));* .CE** This routine is not reentrant.  For a reentrant version, see ctime_r().** INCLUDE FILES: time.h** RETURNS:* The pointer returned by asctime() with local broken-down time as the* argument.** SEE ALSO: asctime(), localtime()*/char * ctime    (     const time_t *timer 	/* calendar time in seconds */    )    {    size_t len = sizeof (ASCBUF);    static char asctimeBuf [sizeof (ASCBUF)];    return (ctime_r (timer, asctimeBuf, &len));    }/********************************************************************************* ctime_r - convert time in seconds into a string (POSIX)** This routine converts the calendar time pointed to by <timer> into local* time in the form of a string.  It is equivalent to:* .CS*     asctime (localtime (timer));* .CE** This routine is the POSIX re-entrant version of ctime().** INCLUDE FILES: time.h** RETURNS:* The pointer returned by asctime() with local broken-down time as the* argument.** SEE ALSO: asctime(), localtime()*/char * ctime_r    (     const time_t * timer,		/* calendar time in seconds */    char *         asctimeBuf,		/* buffer to contain the string */    size_t *       buflen		/* size of the buffer */    )    {    asctime_r (localtime (timer), asctimeBuf, buflen);    return (asctimeBuf);    }/* difftime.c - difftime file for time *//* Copyright 1992-1993 Wind River Systems, Inc. *//*modification history--------------------01d,04oct01,dcb  Fix SPR 7191.  Cast time1 and time2 before subtracting.01c,05feb93,jdi  documentation cleanup for 5.1.01b,20sep92,smb  documentation additions01a,25jul92,smb  written.*//*  DESCRIPTION    INCLUDE FILE: time.h   SEE ALSO: American National Standard X3.159-1989 NOMANUAL*/#include "vxWorks.h"#include "time.h"/********************************************************************************* difftime - compute the difference between two calendar times (ANSI)** This routine computes the  difference between two calendar times: * <time1> - <time0>.** INCLUDE FILES: time.h** RETURNS: The time difference in seconds, expressed as a double.*/  double difftime    (    time_t time1,		/* later time, in seconds */    time_t time0		/* earlier time, in seconds */    )    {    /* This function assumes that sizeof(time_t) is <= sizeof(double). */        return (double)time1 - (double)time0;    }/* gmtime.c - gmtime file for time *//* Copyright 1992-1996 Wind River Systems, Inc. *//*modification history--------------------01g,15oct96,dbt Used reentrant version of ldiv in getTime (fixed SPR #3795).01f,12aug96,dbt modified __getTime to treat time_t as an unsigned (SPR #6178).  01e,21jun96,dbt modified function __jullday (for leap year just test month > 1)		modified call to jullday in __getTime in order to give it a 		year as found in a tm structure, e.g. "96" (SPR #4251)		Updated copyright.01f,24aug94,ism	fixed problem with bus error in time conversion (SPR #3542)			-fixed problem with negative time values			-fixed problem with leap year in negative years (SPR #3576)01e,24sep93,jmm  __julday() now checks for february 29th as a leap year 01d,05feb93,jdi  documentation cleanup for 5.1.01c,13nov92,dnw  changed slong_t decls to long01b,20sep92,smb  documentation additions01a,25jul92,smb  written.*//*  DESCRIPTION    INCLUDE FILE: time.h, stdlib.h   SEE ALSO: American National Standard X3.159-1989 NOMANUAL*/#include "vxWorks.h"#include "time.h"#include "stdlib.h"#include "private/timeP.h"/****************************************************************************** gmtime - convert calendar time into UTC broken-down time (ANSI)** This routine converts the calendar time pointed to by <timer> into* broken-down time, expressed as Coordinated Universal Time (UTC).** This routine is not reentrant.  For a reentrant version, see gmtime_r().** INCLUDE FILES: time.h** RETURNS:* A pointer to a broken-down time structure (`tm'), or a null pointer* if UTC is not available.*/struct tm *gmtime    (    const time_t *timer		/* calendar time in seconds */    )    {    static struct tm timeBuffer;    gmtime_r (timer, &timeBuffer);    return (&timeBuffer);    }/****************************************************************************** gmtime_r - convert calendar time into broken-down time (POSIX)** This routine converts the calendar time pointed to by <timer> into* broken-down time, expressed as Coordinated Universal Time (UTC).* The broken-down time is stored in <timeBuffer>.** This routine is the POSIX re-entrant version of gmtime().** INCLUDE FILES: time.h** RETURNS: OK.*/int gmtime_r    (    const time_t *timer,	/* calendar time in seconds */    struct tm *   timeBuffer	/* buffer for broken down time */    )    {    return (__getTime (*timer, timeBuffer));    }/************************************************************************** __getTime - convert calendar time into broken-down time ** internal routine.** RETURNS: OK* NOMANUAL*/int __getTime    (

?? 快捷鍵說明

復(fù)制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
日韩欧美成人一区二区| 岛国av在线一区| 最新成人av在线| 国产日韩欧美不卡在线| 日韩精品在线一区| 日韩欧美国产小视频| 日韩精品一区二区三区视频在线观看 | 免费久久99精品国产| 亚洲电影中文字幕在线观看| 亚洲欧美日韩精品久久久久| 国产精品福利一区二区| 国产精品一二三四| 国产91精品在线观看| 精品成人私密视频| 国产黄色成人av| 成人国产精品免费观看视频| 成人av在线看| 欧美性淫爽ww久久久久无| 欧美日韩一区精品| 日韩视频在线观看一区二区| 91精品国模一区二区三区| 精品视频1区2区| 日韩久久久久久| 国产精品久久久久婷婷二区次| 亚洲图片另类小说| 香蕉影视欧美成人| 黑人精品欧美一区二区蜜桃| 大尺度一区二区| 欧美三区在线观看| 欧美三级在线看| 亚洲精品午夜久久久| 2020国产精品自拍| 亚洲伦理在线精品| 麻豆91免费观看| 9人人澡人人爽人人精品| 欧美日韩黄色一区二区| 2019国产精品| 亚洲成av人片在www色猫咪| 激情文学综合网| 在线视频中文字幕一区二区| 久久蜜桃av一区精品变态类天堂 | 成人高清视频免费观看| 欧美午夜一区二区三区免费大片| 久久影院电视剧免费观看| 亚洲国产精品一区二区www| 国产美女一区二区三区| 一本到一区二区三区| 国产亚洲综合av| 国产三级一区二区| 高清久久久久久| 成人激情校园春色| 亚洲18色成人| 国产麻豆视频精品| 欧美日韩精品欧美日韩精品一| 日韩欧美亚洲国产精品字幕久久久| 中文字幕一区二区三区在线不卡| 日韩不卡手机在线v区| 在线亚洲欧美专区二区| 国产亚洲欧美一区在线观看| 午夜精品影院在线观看| 97aⅴ精品视频一二三区| 欧美国产视频在线| 国产又黄又大久久| 日韩欧美中文一区二区| 日韩精品一级二级| 在线观看日韩精品| 亚洲精品免费在线观看| 亚洲欧美激情视频在线观看一区二区三区| 91久久人澡人人添人人爽欧美| 极品少妇xxxx精品少妇| 国产精品亚洲综合一区在线观看| 91精品国产综合久久精品app| 亚洲免费看黄网站| 成人午夜电影网站| 日本一区二区综合亚洲| 亚洲福利一区二区三区| 欧美最新大片在线看| 一区二区久久久| 在线精品视频免费播放| 一二三四区精品视频| 欧美自拍偷拍一区| 三级亚洲高清视频| 日韩女同互慰一区二区| 美国一区二区三区在线播放| 久久亚洲一区二区三区四区| 国产久卡久卡久卡久卡视频精品| 久久久久一区二区三区四区| 国产成人午夜电影网| 日本成人在线一区| 国产精品麻豆一区二区| 成人av动漫在线| 亚洲欧美日韩电影| 91国产精品成人| 亚洲高清不卡在线观看| 日韩欧美一二三区| 高清不卡一二三区| 一区二区三区四区在线播放 | 精品国产一二三| 国产精品一卡二卡在线观看| 国产欧美一区二区精品性色| 成人av网站在线| 亚洲国产精品麻豆| 日韩欧美国产一区二区三区| 风流少妇一区二区| 亚洲精品老司机| 日韩美一区二区三区| 成人免费毛片嘿嘿连载视频| 亚洲激情图片小说视频| 欧美成人一区二区| www.欧美精品一二区| 91在线视频播放地址| 国产欧美精品一区二区三区四区| 亚洲人成网站色在线观看| 欧美日韩中文字幕一区二区| 久久99国产精品麻豆| 日韩美女啊v在线免费观看| 欧美精品丝袜久久久中文字幕| 国产精品一二三区在线| 午夜精品福利在线| 国产精品久久久久天堂| 91精品国产一区二区三区| 成人app软件下载大全免费| 日本麻豆一区二区三区视频| 亚洲色图视频免费播放| 久久午夜色播影院免费高清 | 午夜精品久久久久久久99樱桃| 精品国免费一区二区三区| 色八戒一区二区三区| 国产精品一区久久久久| 日本在线观看不卡视频| 亚洲视频一区在线观看| 麻豆精品视频在线观看免费| 91精品国产高清一区二区三区| 日本视频在线一区| 在线国产电影不卡| 亚洲国产精品精华液网站| www亚洲一区| 欧美精品日日鲁夜夜添| 色综合视频在线观看| 成人sese在线| 国产很黄免费观看久久| 日本三级韩国三级欧美三级| 亚洲国产精品精华液网站| 亚洲天堂av一区| 亚洲人快播电影网| 国产精品天干天干在线综合| 久久综合色之久久综合| 精品免费一区二区三区| 日韩一区二区三区免费看| 777奇米四色成人影色区| 欧美视频在线播放| 欧洲国内综合视频| 欧美性xxxxxxxx| 99久久亚洲一区二区三区青草| 欧美卡1卡2卡| 黄页视频在线91| 久久精品噜噜噜成人88aⅴ| 青青草伊人久久| 日产国产欧美视频一区精品| 午夜精品久久久久久久久久久| 亚洲国产日韩综合久久精品| 香蕉久久一区二区不卡无毒影院| 有码一区二区三区| 亚洲第一成人在线| 午夜精品一区二区三区三上悠亚| 婷婷久久综合九色综合绿巨人| 日韩在线观看一区二区| 精久久久久久久久久久| 国产在线精品不卡| 成人精品国产福利| 欧美特级限制片免费在线观看| 欧美日韩高清一区| 欧美刺激午夜性久久久久久久| 精品国产精品一区二区夜夜嗨| 国产色产综合色产在线视频 | 黄色日韩网站视频| 精品一区二区三区的国产在线播放| 精品一区二区三区视频在线观看| 亚洲女性喷水在线观看一区| 欧美国产精品中文字幕| 国产精品乱人伦中文| 一级日本不卡的影视| 日本色综合中文字幕| 麻豆国产精品777777在线| 成人综合婷婷国产精品久久蜜臀| 99久久99久久综合| 欧美一区二区在线播放| 国产精品伦一区| 五月婷婷激情综合网| 国产精品99久久久久久久vr | 欧美久久一区二区| 久久综合一区二区| 一区二区三区国产精品| 久久精品国产久精国产爱| 9久草视频在线视频精品| 欧美精品久久一区| 国产精品全国免费观看高清| 日韩影视精彩在线| 91在线视频免费91| 久久久天堂av|