"Fossies" - the Fresh Open Source Software Archive

Member "usr/include/cygwin/time.h" (19 Aug 2019, 875 Bytes) of package /windows/misc/cygwin-20190819-x86_64.tar.xz:


As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) C and C++ source code syntax highlighting (style: standard) with prefixed line numbers and code folding option. Alternatively you can here view or download the uninterpreted source code file.

    1 /* time.h
    2 
    3 This file is part of Cygwin.
    4 
    5 This software is a copyrighted work licensed under the terms of the
    6 Cygwin license.  Please consult the file "CYGWIN_LICENSE" for
    7 details. */
    8 
    9 #ifndef _CYGWIN_TIME_H
   10 #define _CYGWIN_TIME_H
   11 #ifdef __cplusplus
   12 extern "C"
   13 {
   14 #endif
   15 
   16 /* Not defined in main time.h */
   17 int __cdecl clock_setres (clockid_t, struct timespec *);
   18 
   19 /* GNU extensions. */
   20 time_t __cdecl timelocal (struct tm *);
   21 time_t __cdecl timegm (struct tm *);
   22 
   23 #define TIMER_RELTIME  0 /* For compatibility with HP/UX, Solaris, others? */
   24 
   25 #if __SVID_VISIBLE
   26 extern int stime (const time_t *);
   27 #endif
   28 
   29 #if __SVID_VISIBLE || __XSI_VISIBLE
   30 extern int daylight __asm__ (_SYMSTR (_daylight));
   31 
   32 #ifndef __timezonefunc__
   33 extern long timezone __asm__ (_SYMSTR (_timezone));
   34 #endif
   35 
   36 #endif /* __SVID_VISIBLE || __XSI_VISIBLE */
   37 
   38 #ifdef __cplusplus
   39 }
   40 #endif
   41 #endif /*_CYGWIN_TIME_H*/