home *** CD-ROM | disk | FTP | other *** search
/ Piper's Pit BBS/FTP: ibm 0010 - 0019 / ibm0010-0019 / ibm0010.tar / ibm0010 / UNIX3862.ZIP / U386-06.ZIP / U386-6.TD0 / usr / include / sys / timeb.h < prev    next >
Encoding:
C/C++ Source or Header  |  1988-06-26  |  1.1 KB  |  44 lines

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