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

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? time.h

?? ecos下的gui開發源代碼
?? H
字號:
#ifndef CYGONCE_LIBC_TIME_TIME_H
#define CYGONCE_LIBC_TIME_TIME_H
/*===========================================================================
//
//      time.h
//
//      Date and time routines from ISO C section 7.12 and POSIX 1003.1
//
//===========================================================================
//####ECOSGPLCOPYRIGHTBEGIN####
// -------------------------------------------
// This file is part of eCos, the Embedded Configurable Operating System.
// Copyright (C) 1998, 1999, 2000, 2001, 2002 Red Hat, Inc.
// Copyright (C) 2003 Gary Thomas
//
// eCos is free software; you can redistribute it and/or modify it under
// the terms of the GNU General Public License as published by the Free
// Software Foundation; either version 2 or (at your option) any later version.
//
// eCos is distributed in the hope that it will be useful, but WITHOUT ANY
// WARRANTY; without even the implied warranty of MERCHANTABILITY or
// FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
// for more details.
//
// You should have received a copy of the GNU General Public License along
// with eCos; if not, write to the Free Software Foundation, Inc.,
// 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA.
//
// As a special exception, if other files instantiate templates or use macros
// or inline functions from this file, or you compile this file and link it
// with other works to produce a work based on this file, this file does not
// by itself cause the resulting work to be covered by the GNU General Public
// License. However the source code for this file must still be made available
// in accordance with section (3) of the GNU General Public License.
//
// This exception does not invalidate any other reasons why a work based on
// this file might be covered by the GNU General Public License.
//
// Alternative licenses for eCos may be arranged by contacting Red Hat, Inc.
// at http://sources.redhat.com/ecos/ecos-license/
// -------------------------------------------
//####ECOSGPLCOPYRIGHTEND####
//===========================================================================
//#####DESCRIPTIONBEGIN####
//
// Author(s):    jlarmour
// Contributors: 
// Date:         2000-04-14
// Purpose:      Provide definitions required by ISO C section 7.12 and
//               POSIX 1003.1 8.3.4-8.3.7
// Description: 
// Usage:        Do not include this file directly - use #include <time.h>
//
//####DESCRIPTIONEND####
//
//=========================================================================*/

// CONFIGURATION

#include <pkgconf/libc_time.h>          // C library configuration

// INCLUDES

#include <cyg/infra/cyg_type.h>         // Common type definitions and support

// TYPE DEFINITIONS

// Define struct tm as per ISO C para 7.12.1
struct tm {
    int tm_sec;      // seconds after the minute - [0..61] 
                     //   (note 61 allows for two leap seconds)
    int tm_min;      // minutes after the hour - [0..59]
    int tm_hour;     // hours since midnight - [0..23]
    int tm_mday;     // days of the month - [1..31]
    int tm_mon;      // months since January - [0..11]
    int tm_year;     // years since 1900
    int tm_wday;     // days since Sunday - [0..6]
    int tm_yday;     // days since January 1 - [0..365]
    int tm_isdst;    // Daylight Saving Time flag - positive if DST is in
                     // effect, 0 if not in effect, and negative if the info
                     // is not available
};

// The following struct is used by the implementation-defined functions
// to manipulate the Daylight Savings Time state
typedef enum {
    CYG_LIBC_TIME_DSTNA  = -1,
    CYG_LIBC_TIME_DSTOFF =  0,
    CYG_LIBC_TIME_DSTON  =  1
} Cyg_libc_time_dst;

// FUNCTION PROTOTYPES

#ifdef __cplusplus
extern "C" {
#endif

//===========================================================================
//
// POSIX 1003.1 functions

#ifdef CYGFUN_LIBC_TIME_POSIX

/////////////////////////////////
// asctime_r() - POSIX.1 8.3.4 //
/////////////////////////////////
//
// This returns a textual representation of a struct tm, and writes
// the string to return into __buf
//

extern char *
asctime_r( const struct tm *__timeptr, char *__buf );

///////////////////////////////
// ctime_r() - POSIX.1 8.3.5 //
///////////////////////////////
//
// This returns the equivalent of ctime() but writes to __buf
// to store the returned string
//

extern char *
ctime_r( const time_t *__timer, char *__buf );

////////////////////////////////
// gmtime_r() - POSIX.1 8.3.6 //
////////////////////////////////
//
// This converts a time_t into a struct tm expressed in UTC, and stores
// the result in the space occupied by __result
//

extern struct tm *
gmtime_r( const time_t *__timer, struct tm *__result );

///////////////////////////////////
// localtime_r() - POSIX.1 8.3.7 //
///////////////////////////////////
//
// This converts a time_t into a struct tm expressed in local time, and
// stores the result in the space occupied by __result
//

extern struct tm *
localtime_r( const time_t *__timer, struct tm *__result );

/////////////////////////////////////////////////////////
// strptime() - 
/////////////////////////////////////////////////////////
//
// Parse a time string into a struct tm  
//

extern char *
strptime( const char *__s, const char *__format, 
          struct tm *__timeptr) CYGBLD_ATTRIB_STRFTIME_FORMAT(2,0);


#endif // ifdef CYGFUN_LIBC_TIME_POSIX

//===========================================================================

// ISO C functions

// Time manipulation functions - ISO C 7.12.2

//////////////////////////////
// clock() - ISO C 7.12.2.1 //
//////////////////////////////
//
// Returns processor time used in "clock"s. For a single process,
// multi-threaded system this will just be the time since booting
//

extern clock_t
clock( void );

/////////////////////////////////
// difftime() - ISO C 7.12.2.2 //
/////////////////////////////////
//
// This returns (__time1 - __time0) in seconds
//

extern double
difftime( time_t __time1, time_t __time0 );

///////////////////////////////
// mktime() - ISO C 7.12.2.3 //
///////////////////////////////
//
// This converts a "struct tm" to a "time_t"
//

extern time_t
mktime( struct tm *__timeptr );

/////////////////////////////
// time() - ISO C 7.12.2.4 //
/////////////////////////////
//
// This returns calendar time as a time_t
//

extern time_t
time( time_t *__timer );

// Time conversion functions - ISO C 7.12.3

////////////////////////////////
// asctime() - ISO C 7.12.3.1 //
////////////////////////////////
//
// This returns a textual representation of a struct tm
//

extern char *
asctime( const struct tm *__timeptr );

//////////////////////////////
// ctime() - ISO C 7.12.3.2 //
//////////////////////////////
//
// This returns asctime(localtime(__timeptr))
//

extern char *
ctime( const time_t *__timer );

///////////////////////////////
// gmtime() - ISO C 7.12.3.3 //
///////////////////////////////
//
// This converts a time_t into a struct tm expressed in UTC
//

extern struct tm *
gmtime( const time_t *__timer );

//////////////////////////////////
// localtime() - ISO C 7.12.3.4 //
//////////////////////////////////
//
// This converts a time_t into a struct tm expressed in local time
//

extern struct tm *
localtime( const time_t *__timer );

/////////////////////////////////
// strftime() - ISO C 7.12.3.5 //
/////////////////////////////////
//
// This converts a string using format specifiers that signify various
// time-related quantities
//

extern size_t
strftime( char *__s, size_t __maxsize, const char *__format,
          const struct tm *__timeptr) CYGBLD_ATTRIB_STRFTIME_FORMAT(3,0); 

//===========================================================================

// Implementation-specific functions

////////////////////////////////////
// cyg_libc_time_setzoneoffsets() //
////////////////////////////////////
//
// This function sets the offsets used when Daylight Savings Time is enabled
// or disabled. The offsets are in time_t's
//

extern void
cyg_libc_time_setzoneoffsets( time_t __stdoffset, time_t __dstoffset );

////////////////////////////
// cyg_libc_time_setdst() //
////////////////////////////
//
// This function sets the state of Daylight Savings Time: on, off, or unknown
//

extern void
cyg_libc_time_setdst( Cyg_libc_time_dst __state );


////////////////////////////////////
// cyg_libc_time_getzoneoffsets() //
////////////////////////////////////
//
// This function retrieves the current state of the Daylight Savings Time
// and the offsets of both STD and DST
// The offsets are both in time_t's
//

extern Cyg_libc_time_dst
cyg_libc_time_getzoneoffsets( time_t *__stdoffset, time_t *__dstoffset );

/////////////////////////////
// cyg_libc_time_settime() //
/////////////////////////////
//
// This function sets the current time for the system. The time is
// specified as a time_t in UTC. It returns non-zero on error.
//

extern cyg_bool
cyg_libc_time_settime( time_t __utctime );


#ifdef __cplusplus
} // extern "C"
#endif

#include <cyg/libc/time/time.inl>

#endif // CYGONCE_LIBC_TIME_TIME_H multiple inclusion protection

// EOF time.h

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
久久久久88色偷偷免费| 成人va在线观看| 欧美麻豆精品久久久久久| 亚洲免费观看高清在线观看| av成人老司机| 亚洲天堂网中文字| 国产婷婷色一区二区三区 | 综合网在线视频| 不卡av在线网| 一区二区三区不卡在线观看| 色呦呦网站一区| 亚洲午夜久久久久久久久电影院| 色综合久久天天| 亚洲自拍偷拍欧美| 欧美电影一区二区| 精品一区二区在线看| 中文字幕不卡一区| 一本大道av伊人久久综合| 午夜电影网一区| 欧美大片拔萝卜| 国产91精品一区二区| 伊人色综合久久天天| 欧美日韩国产综合一区二区| 久久精品久久综合| 国产欧美精品国产国产专区| 色综合一区二区| 美腿丝袜在线亚洲一区| 国产色综合久久| 在线观看一区二区视频| 美国精品在线观看| 亚洲欧洲性图库| 欧美日韩国产综合久久| 国产一区二区三区国产| 亚洲美女在线国产| 亚洲精品一区二区三区蜜桃下载| www.成人网.com| 五月天亚洲精品| 欧美韩国日本不卡| 欧美一区永久视频免费观看| 国产成人丝袜美腿| 午夜影院在线观看欧美| 国产精品青草综合久久久久99| 欧美性猛交一区二区三区精品| 国产精品18久久久久| 亚洲主播在线观看| 中文幕一区二区三区久久蜜桃| 欧美精品aⅴ在线视频| 成人爽a毛片一区二区免费| 香蕉久久夜色精品国产使用方法| 日本一区二区三区在线观看| 色婷婷国产精品综合在线观看| 精品中文字幕一区二区| 亚洲国产裸拍裸体视频在线观看乱了 | 欧美日本一区二区| 92精品国产成人观看免费| 国产一区二区三区电影在线观看| 亚洲精品免费视频| 国产天堂亚洲国产碰碰| 一个色综合网站| 久久久久久影视| 91精品国模一区二区三区| 色老头久久综合| av在线不卡观看免费观看| 国产一区999| 老司机午夜精品99久久| 天天综合网 天天综合色| 亚洲综合图片区| 亚洲欧洲日产国产综合网| 国产日韩av一区| 欧美精品一区二区三| 欧美久久高跟鞋激| 欧美午夜电影网| 在线观看三级视频欧美| 一本久道中文字幕精品亚洲嫩| a美女胸又www黄视频久久| 国产不卡一区视频| 国产精品一区二区在线看| 国产精品 欧美精品| 国产乱人伦偷精品视频免下载| 裸体在线国模精品偷拍| 免费观看在线色综合| 美国一区二区三区在线播放| 男男gaygay亚洲| 蜜乳av一区二区三区| 久久草av在线| 狠狠色狠狠色综合| 国产资源在线一区| 国产伦精品一区二区三区免费迷| 精品一区免费av| 国产毛片精品视频| 风间由美一区二区三区在线观看| 国精产品一区一区三区mba视频| 国内偷窥港台综合视频在线播放| 精品一二三四区| 国产精品一线二线三线精华| 国产福利精品一区二区| 风间由美一区二区三区在线观看 | 亚洲精品国久久99热| 亚洲欧美在线视频| 亚洲一区视频在线| 99久久综合国产精品| 99麻豆久久久国产精品免费| 91成人网在线| 欧美一区二区三区成人| 日韩欧美的一区二区| 国产日韩欧美高清在线| 国产精品不卡一区二区三区| 亚洲视频一区在线| 婷婷国产v国产偷v亚洲高清| 久久精品国产999大香线蕉| 丁香激情综合国产| 在线看国产日韩| 日韩欧美国产系列| 国产精品沙发午睡系列990531| 亚洲欧洲成人av每日更新| 亚洲一区二区三区中文字幕 | 欧美精品视频www在线观看 | 国产欧美一区二区精品性色超碰| 国产精品久久久久aaaa| 亚洲一本大道在线| 奇米一区二区三区| www.在线成人| 欧美精品18+| 中文幕一区二区三区久久蜜桃| 亚洲国产精品一区二区www| 精彩视频一区二区三区| 色综合久久久久| 欧美va天堂va视频va在线| 亚洲视频小说图片| 九九**精品视频免费播放| 91麻豆福利精品推荐| 亚洲精品一区二区三区精华液| 日韩一区欧美小说| 麻豆精品在线播放| 色综合激情五月| 久久久久国产一区二区三区四区| 亚洲免费观看高清完整| 国产一区二区三区蝌蚪| 欧美日韩亚洲综合在线 欧美亚洲特黄一级 | 欧美一区二区视频免费观看| 日本一区二区动态图| 免费看精品久久片| 欧美日韩色一区| 中文字幕 久热精品 视频在线 | 中文字幕在线观看一区二区| 日韩成人免费电影| 在线免费观看日本欧美| 国产日韩精品一区| 国内精品免费**视频| 在线不卡欧美精品一区二区三区| 国产精品久久一卡二卡| 国内外成人在线视频| 日韩欧美国产三级电影视频| 午夜视频在线观看一区| 色综合 综合色| 国产精品毛片大码女人| 国产真实乱子伦精品视频| 国产精品网站导航| 国产乱对白刺激视频不卡 | 麻豆传媒一区二区三区| 欧美日韩精品电影| 亚洲自拍偷拍综合| 欧洲精品视频在线观看| 国产精品福利一区| 成人视屏免费看| 欧美国产丝袜视频| 国产成都精品91一区二区三| 精品盗摄一区二区三区| 美女网站视频久久| 日韩欧美国产三级电影视频| 美女视频黄a大片欧美| 9191精品国产综合久久久久久| 亚洲综合色丁香婷婷六月图片| 99视频精品在线| 最近日韩中文字幕| 色综合久久综合中文综合网| 中文字幕制服丝袜成人av| www.色精品| 亚洲视频你懂的| 精品视频1区2区| 日本欧美在线观看| 亚洲精品一区二区三区在线观看| 国产一区二区三区四区五区美女| 久久欧美中文字幕| 成人免费毛片高清视频| 国产精品久久久99| 91在线观看视频| 亚洲成av人片在线观看无码| 欧美精品1区2区3区| 九色综合狠狠综合久久| 国产亚洲一区二区三区在线观看| 国产乱人伦偷精品视频不卡 | 日本怡春院一区二区| 日韩欧美一级特黄在线播放| 国内精品伊人久久久久影院对白| 国产香蕉久久精品综合网| jlzzjlzz欧美大全| 一区二区三区高清| 在线观看91精品国产麻豆| 国产一区二区三区香蕉|