Back to index

glibc  2.9
Classes | Defines | Typedefs | Enumerations | Functions | Variables
time.h File Reference
#include <features.h>
#include <bits/types.h>
#include <time.h>
#include <bits/time.h>
#include <sys/select.h>

Go to the source code of this file.

Classes

struct  itimerval

Defines

#define __need_time_t
#define __need_timeval
#define __suseconds_t_defined
#define ITIMER_REAL   ITIMER_REAL
#define ITIMER_VIRTUAL   ITIMER_VIRTUAL
#define ITIMER_PROF   ITIMER_PROF

Typedefs

typedef __suseconds_t suseconds_t
typedef int __itimer_which_t

Enumerations

enum  __itimer_which {
  ITIMER_REAL = 0, ITIMER_REAL = 0, ITIMER_VIRTUAL = 1, ITIMER_VIRTUAL = 1,
  ITIMER_PROF
}

Functions

int gettimeofday (struct timeval *__restrict __tv, __timezone_ptr_t __tz) __THROW __nonnull((1))
int getitimer (__itimer_which_t __which, struct itimerval *__value) __THROW
int setitimer (__itimer_which_t __which, __const struct itimerval *__restrict __new, struct itimerval *__restrict __old) __THROW
int utimes (__const char *__file, __const struct timeval __tvp[2]) __THROW __nonnull((1))

Variables

__BEGIN_DECLS typedef void
*__restrict 
__timezone_ptr_t

Class Documentation

struct itimerval

Definition at line 109 of file time.h.


Define Documentation

#define __need_time_t

Definition at line 26 of file time.h.

#define __need_timeval

Definition at line 28 of file time.h.

Definition at line 35 of file time.h.

#define ITIMER_PROF   ITIMER_PROF
#define ITIMER_REAL   ITIMER_REAL

Definition at line 97 of file time.h.

Definition at line 100 of file time.h.


Typedef Documentation

Definition at line 122 of file time.h.

Definition at line 34 of file time.h.


Enumeration Type Documentation

Enumerator:
ITIMER_REAL 
ITIMER_REAL 
ITIMER_VIRTUAL 
ITIMER_VIRTUAL 
ITIMER_PROF 

Definition at line 93 of file time.h.

  {
    /* Timers run in real time.  */
    ITIMER_REAL = 0,
#define ITIMER_REAL ITIMER_REAL
    /* Timers run only when the process is executing.  */
    ITIMER_VIRTUAL = 1,
#define ITIMER_VIRTUAL ITIMER_VIRTUAL
    /* Timers run when the process is executing and when
       the system is executing on behalf of the process.  */
    ITIMER_PROF = 2
#define ITIMER_PROF ITIMER_PROF
  };

Function Documentation

int getitimer ( __itimer_which_t  __which,
struct itimerval __value 
)
int gettimeofday ( struct timeval *__restrict  __tv,
__timezone_ptr_t  __tz 
)

Here is the caller graph for this function:

int setitimer ( __itimer_which_t  __which,
__const struct itimerval *__restrict  __new,
struct itimerval *__restrict  __old 
)

Here is the caller graph for this function:

int utimes ( __const char *  __file,
__const struct timeval  __tvp[2] 
)

Here is the caller graph for this function:


Variable Documentation

Definition at line 65 of file time.h.