System : Linux MiraNet 3.0.0-14-generic-pae #23-Ubuntu SMP Mon Nov 21 22:07:10 UTC 2011 i686
Software : Apache. PHP/5.3.6-13ubuntu3.10
ID : uid=65534(nobody) gid=65534(nogroup) groups=65534(nogroup)
Safe Mode : OFF
Open_Basedir : OFF
Freespace : 22.78 GB of 70.42 GB (32.34%)
MySQL: ON MSSQL: OFF Oracle: OFF PostgreSQL: OFF Curl: OFF Sockets: ON Fetch: OFF Wget: ON Perl: ON
Disabled Functions: pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,
[ System Info ]
[ Processes ]
[ SQL Manager ]
[ Eval ]
[ Encoder ]
[ Mailer ]
[ Back Connection ]
[ Backdoor Server ]
[ Kernel Exploit Search ]
[ MD5 Decrypter ]
[ Reverse IP ]
[ Kill Shell ]
[ FTP Brute-Force ]
/
usr/
share/
doc/
libapr1-dev/
html/
- drwxr-xr-x
Viewing file: group__apr__time.html (42.01 KB) -rw-r--r-- Select action/file-type:
(
+ ) |
(
+ ) |
(
+ ) |
Code (
+ ) |
Session (
+ ) |
(
+ ) |
SDB (
+ ) |
(
+ ) |
(
+ ) |
(
+ ) |
(
+ ) |
(
+ ) |
Apache Portable Runtime: Time Routines
Data Structures
struct apr_time_exp_t
Defines
#define APR_TIME_C (val) APR_INT64_C(val)
#define APR_TIME_T_FMT APR_INT64_T_FMT
#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)
Typedefs
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
Functions
apr_time_t apr_time_now (void)
apr_status_t apr_time_ansi_put (apr_time_t *result, time_t input)
apr_status_t apr_time_exp_tz (apr_time_exp_t *result, apr_time_t input, apr_int32_t offs)
apr_status_t apr_time_exp_gmt (apr_time_exp_t *result, apr_time_t input)
apr_status_t apr_time_exp_lt (apr_time_exp_t *result, apr_time_t input)
apr_status_t apr_time_exp_get (apr_time_t *result, apr_time_exp_t *input)
apr_status_t apr_time_exp_gmt_get (apr_time_t *result, apr_time_exp_t *input)
void apr_sleep (apr_interval_time_t t)
apr_status_t apr_rfc822_date (char *date_str, apr_time_t t)
apr_status_t apr_ctime (char *date_str, apr_time_t t)
apr_status_t apr_strftime (char *s, apr_size_t *retsize, apr_size_t max, const char *format, apr_time_exp_t *tm)
void apr_time_clock_hires (apr_pool_t *p)
Variables
const char apr_month_snames [12][4]
const char apr_day_snames [7][4]
Define Documentation
#define APR_CTIME_LEN (25)
#define APR_RFC822_DATE_LEN (30)
#define apr_time_as_msec
(
time )
((time) / 1000)
Returns: apr_time_t as a msec
#define APR_TIME_C
(
val )
APR_INT64_C(val)
mechanism to properly type apr_time_t literals
#define apr_time_from_msec
(
msec )
((apr_time_t )(msec) * 1000)
Returns: milliseconds as an apr_time_t
#define apr_time_from_sec
(
sec )
((apr_time_t )(sec) * APR_USEC_PER_SEC)
Returns: seconds as an apr_time_t
#define apr_time_make
(
sec,
usec
)
Value: Returns: a second and usec combination as an apr_time_t
#define apr_time_msec
(
time )
(((time) / 1000) % 1000)
Returns: apr_time_t as a msec
#define apr_time_sec
(
time )
((time) / APR_USEC_PER_SEC)
Returns: apr_time_t as a second
#define APR_TIME_T_FMT APR_INT64_T_FMT
mechanism to properly print apr_time_t values
#define apr_time_usec
(
time )
((time) % APR_USEC_PER_SEC)
Returns: apr_time_t as a usec
#define APR_USEC_PER_SEC APR_TIME_C(1000000)
number of microseconds per second
Typedef Documentation
intervals for I/O timeouts, in microseconds
short interval for I/O timeouts, in microseconds
number of microseconds since 00:00:00 january 1, 1970 UTC
Function Documentation
apr_ctime formats dates in the ctime() format in an efficient manner. it is a fixed length format and requires the indicated amount of storage including the trailing NUL terminator. Unlike ANSI/ISO C ctime(), apr_ctime() does not include a
at the end of the string.
Parameters:
date_str String to write to.
t the time to convert
apr_rfc822_date formats dates in the RFC822 format in an efficient manner. It is a fixed length format which requires the indicated amount of storage, including the trailing NUL terminator.
Parameters:
date_str String to write to.
t the time to convert
Sleep for the specified number of micro-seconds.
Parameters:
t desired amount of time to sleep.
Warning: May sleep for longer than the specified time.
formats the exploded time according to the format specified
Parameters:
s string to write to
retsize The length of the returned string
max The maximum length of the string
format The format for the time string
tm The time to convert
convert an ansi time_t to an apr_time_t
Parameters:
result the resulting apr_time_t
input the time_t to convert
Improve the clock resolution for the lifetime of the given pool. Generally this is only desireable on benchmarking and other very time-sensitive applications, and has no impact on most platforms.
Parameters:
p The pool to associate the finer clock resolution
Convert time value from human readable format to a numeric apr_time_t e.g. elapsed usec since epoch
Parameters:
result the resulting imploded time
input the input exploded time
convert a time to its human readable components in GMT timezone
Parameters:
result the exploded time
input the time to explode
Convert time value from human readable format to a numeric apr_time_t that always represents GMT
Parameters:
result the resulting imploded time
input the input exploded time
convert a time to its human readable components in local timezone
Parameters:
result the exploded time
input the time to explode
convert a time to its human readable components using an offset from GMT
Parameters:
result the exploded time
input the time to explode
offs the number of seconds offset to apply
Variable Documentation