apr  1.7.0
About: APR (Apache Portable Runtime) project offers software libraries that provide a predictable and consistent interface to underlying platform-specific implementations (APR core library).
  Fossies Dox: apr-1.7.0.tar.bz2  ("inofficial" and yet experimental doxygen-generated source code documentation)  

apr_time.h File Reference

APR Time Library. More...

#include "apr.h"
#include "apr_errno.h"
#include "apr_pools.h"
Include dependency graph for apr_time.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  apr_time_exp_t


#define APR_TIME_C(val)   APR_INT64_C(val)
#define APR_USEC_PER_SEC   APR_TIME_C(1000000)
#define apr_time_sec(time)   ((time) / APR_USEC_PER_SEC)
#define apr_time_usec(time)   ((time) % APR_USEC_PER_SEC)
#define apr_time_msec(time)   (((time) / 1000) % 1000)
#define apr_time_as_msec(time)   ((time) / 1000)
#define apr_time_from_msec(msec)   ((apr_time_t)(msec) * 1000)
#define apr_time_from_sec(sec)   ((apr_time_t)(sec) * APR_USEC_PER_SEC)
#define apr_time_make(sec, usec)
#define APR_RFC822_DATE_LEN   (30)
#define APR_CTIME_LEN   (25)


typedef apr_int64_t apr_time_t
typedef apr_int64_t apr_interval_time_t
typedef apr_int32_t apr_short_interval_time_t
typedef struct apr_time_exp_t apr_time_exp_t


 APR_DECLARE (apr_time_t) apr_time_now(void)
 APR_DECLARE (apr_status_t) apr_time_ansi_put(apr_time_t *result
 APR_DECLARE (void) apr_sleep(apr_interval_time_t t)


const APR_DECLARE_DATA char apr_month_snames [12][4]
const APR_DECLARE_DATA char apr_day_snames [7][4]
time_t input
apr_time_t apr_int32_t offs
apr_time_t t
apr_size_t * retsize
apr_size_t apr_size_t max
apr_size_t apr_size_t const char * format
apr_size_t apr_size_t const char apr_time_exp_ttm

Detailed Description

APR Time Library.

Definition in file apr_time.h.