home *** CD-ROM | disk | FTP | other *** search
/ Liren Large Software Subsidy 15 / 15.iso / s / s053 / 9.ddi / usr / include / sys / timeb.h < prev    next >
Encoding:
C/C++ Source or Header  |  1990-12-08  |  1.4 KB  |  55 lines

  1. /*    Copyright (c) 1990 UNIX System Laboratories, Inc.    */
  2. /*    Copyright (c) 1984, 1986, 1987, 1988, 1989, 1990 AT&T    */
  3. /*      All Rights Reserved      */
  4.  
  5. /*    THIS IS UNPUBLISHED PROPRIETARY SOURCE CODE OF         */
  6. /*    UNIX System Laboratories, Inc.                         */
  7. /*    The copyright notice above does not evidence any       */
  8. /*    actual or intended publication of such source code.    */
  9.  
  10. #ifndef    _SYS_TIMEB_H
  11. #define    _SYS_TIMEB_H
  12.  
  13. #ident    "@(#)/usr/include/sys/timeb.h.sl 1.1 4.0 12/08/90 56024 AT&T-USL"
  14. /*    Copyright (c) 1987, 1988 Microsoft Corporation    */
  15. /*      All Rights Reserved    */
  16.  
  17. /*    This Module contains Proprietary Information of Microsoft  */
  18. /*    Corporation and should be treated as Confidential.       */
  19.  
  20.  
  21. /*
  22.  *    @(#) timeb.h 1.2 88/08/30 head.sys:timeb.h
  23.  */
  24.  
  25.  
  26.  
  27.  
  28. /*
  29.  * THIS FILE CONTAINS CODE WHICH IS DESIGNED TO BE
  30.  * PORTABLE BETWEEN DIFFERENT MACHINE ARCHITECTURES
  31.  * AND CONFIGURATIONS. IT SHOULD NOT REQUIRE ANY
  32.  * MODIFICATIONS WHEN ADAPTING XENIX TO NEW HARDWARE.
  33.  */
  34.  
  35.  
  36. #if defined(__STDC__)
  37.   #pragma pack(2)
  38. #endif
  39.  
  40. /*
  41.  * Structure returned by ftime system call
  42.  */
  43. struct timeb {
  44.     time_t    time;        /* time, seconds since the epoch */
  45.     unsigned short    millitm;/* 1000 msec of additional accuracy */
  46.     short    timezone;    /* timezone, minutes west of GMT */
  47.     short    dstflag;    /* daylight savings when appropriate? */
  48. };
  49.  
  50. #if defined(__STDC__)
  51.   #pragma pack()
  52. #endif
  53.  
  54. #endif    /*    _SYS_TIMEB_H */
  55.