/*
    AUTOMATICALLY GENERATED BY tspec 2.10
    API SUBSET: unix95:sys/time.h (VERSION 2.7)
*/

#ifndef __TDF_UNIX95_SYS_TIME_H
#define __TDF_UNIX95_SYS_TIME_H

#ifdef __cplusplus
extern "C" {
#endif

#pragma TenDRA declaration block api__unix95__sys_time begin

#ifndef __TDF_STRUCT_TIMEVAL
#pragma extend interface "../../shared/unix95.api/timeval.h"
#endif /* __TDF_STRUCT_TIMEVAL */
#pragma token STRUCT TAG itimerval # unix95.time.itimerval
#pragma token MEMBER struct timeval : struct itimerval : it_interval # unix95.time.itimerval.it_interval
#pragma token MEMBER struct timeval : struct itimerval : it_value # unix95.time.itimerval.it_value
#pragma token NAT __local_fds_bits_size # unix95.time.__local_fds_bits_size
#pragma token STRUCT fd_set # unix95.time.fd_set
#pragma token MEMBER long [__local_fds_bits_size] : fd_set : fds_bits # unix95.time.fd_set.fds_bits
#pragma token EXP const : int : ITIMER_REAL # unix95.time.ITIMER_REAL
#pragma token EXP const : int : ITIMER_VIRTUAL # unix95.time.ITIMER_VIRTUAL
#pragma token EXP const : int : ITIMER_PROF # unix95.time.ITIMER_PROF
#pragma token FUNC int (int, struct itimerval *) : getitimer # unix95.time.getitimer
#pragma token FUNC int (int, const struct itimerval *, struct itimerval *) : setitimer # unix95.time.setitimer
#pragma token FUNC int (struct timeval *, void *) : gettimeofday # unix95.time.gettimeofday
#pragma token EXP const : int : FD_SETSIZE # unix95.time.FD_SETSIZE
#pragma token PROC (EXP rvalue : int : , EXP rvalue : fd_set * : ) EXP rvalue : void : FD_SET # unix95.time.FD_SET
#pragma token PROC (EXP rvalue : int : , EXP rvalue : fd_set * : ) EXP rvalue : void : FD_CLR # unix95.time.FD_CLR
#pragma token PROC (EXP rvalue : int : , EXP rvalue : fd_set * : ) EXP rvalue : int : FD_ISSET # unix95.time.FD_ISSET
#pragma token PROC (EXP rvalue : fd_set * : ) EXP rvalue : void : FD_ZERO # unix95.time.FD_ZERO
#pragma token FUNC int (int, fd_set *, fd_set *, fd_set *, struct timeval *) : select # unix95.time.select
#pragma token FUNC int (const char *, const struct timeval [2]) : utimes # unix95.time.utimes

#pragma interface TAG itimerval TAG itimerval.it_interval
#pragma interface TAG itimerval.it_value __local_fds_bits_size fd_set
#pragma interface fd_set.fds_bits ITIMER_REAL ITIMER_VIRTUAL ITIMER_PROF
#pragma interface getitimer setitimer gettimeofday FD_SETSIZE FD_SET FD_CLR
#pragma interface FD_ISSET FD_ZERO select utimes

#pragma TenDRA declaration block end

#ifdef __cplusplus
}
#endif

#endif /* __TDF_UNIX95_SYS_TIME_H */
