1 #
   2 # This file and its contents are supplied under the terms of the
   3 # Common Development and Distribution License ("CDDL"), version 1.0.
   4 # You may only use this file in accordance with the terms of version
   5 # 1.0 of the CDDL.
   6 #
   7 # A full copy of the text of the CDDL should have accompanied this
   8 # source.  A copy of the CDDL is also available via the Internet at
   9 # http://www.illumos.org/license/CDDL.
  10 #
  11 
  12 #
  13 # Copyright 2015 Garrett D'Amore <garrett@damore.org>
  14 # Copyright 2020 OmniOS Community Edition (OmniOSce) Association.
  15 #
  16 
  17 #
  18 # Definitions found in sys/time.h
  19 #
  20 
  21 #
  22 # Types.
  23 #
  24 #type | time_t | sys/timeb.h | -ALL SUS+ -SUSv4+
  25 #type | struct timeb | sys/timeb.h | -ALL SUS+ -SUSv4+
  26 
  27 #
  28 # Values.
  29 #
  30 
  31 #
  32 # Functions
  33 #
  34 func |  futimesat                                       |\
  35         int                                             |\
  36         int; const char *; const struct timeval [2]     |\
  37         sys/time.h                                      |\
  38         -SUS+ -POSIX+
  39 
  40 func |  utimes                                          |\
  41         int                                             |\
  42         const char *; const struct timeval [2]          |\
  43         sys/time.h | -POSIX+ -XPG3+ SUS+
  44 
  45 func |  lutimes                                         |\
  46         int                                             |\
  47         const char *; const struct timeval [2]          |\
  48         sys/time.h | -ALL
  49 
  50 func |  futimes                                         |\
  51         int                                             |\
  52         int; const struct timeval [2]                   |\
  53         sys/time.h | -ALL
  54 
  55 define | TIMEVAL_TO_TIMESPEC | | sys/time.h | -ALL
  56 define | TIMESPEC_TO_TIMEVAL | | sys/time.h | -ALL