xref: /illumos-gate/usr/src/cmd/ast/libshell/amd64/FEATURE/time (revision 533affcbc7fc4d0c8132976ea454aaa715fe2307)
1/* : : generated from contrib/ast/src/cmd/ksh93/features/time by iffe version 2012-07-17 : : */
2#ifndef _def_time_ksh93
3#define _def_time_ksh93	1
4#define _sys_types	1	/* #include <sys/types.h> ok */
5#define _hdr_utime	1	/* #include <utime.h> ok */
6#define _lib_gettimeofday	1	/* gettimeofday() in default lib(s) */
7#define _lib_setitimer	1	/* setitimer() in default lib(s) */
8#define _sys_time	1	/* #include <sys/time.h> ok */
9#define _mem_tv_usec_timeval	1	/* tv_usec is a member of struct timeval */
10#define _lib_2_timeofday	1	/* 2 arg gettimeofday() */
11#undef _def_time
12#include	<times.h>
13#define _def_time	1
14#undef timeofday
15#if _lib_2_timeofday
16#define timeofday(p)	gettimeofday(p,(struct timezone*)0)
17#else
18#if _lib_1_timeofday
19#define timeofday(p)	gettimeofday(p)
20#endif
21#endif
22
23#endif
24