File: ixp_settimer.3

package info (click to toggle)
libixp 0.6~20121202%2Bhg148-5
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 988 kB
  • sloc: ansic: 4,908; sh: 142; perl: 121; makefile: 111
file content (50 lines) | stat: -rw-r--r-- 789 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
.TH "IXP_SETTIMER" 3 "2012 Dec" "libixp Manual"


.SH NAME

.P
ixp_settimer

.SH SYNOPSIS

.nf
#include <ixp.h>

long ixp_settimer(IxpServer *srv, long msec, void (*fn)(long, void *), void *aux);
.fi


.SH PARAMETERS

.TP
msec
The timeout in milliseconds.
.TP
fn
The function to call after \fImsec\fR milliseconds
have elapsed.
.TP
aux
An arbitrary argument to pass to \fIfn\fR when it
is called.

.SH DESCRIPTION

.P
Initializes a callback\-based timer to be triggerred after
\fImsec\fR milliseconds. The timer is passed its id number
and the value of \fIaux\fR.

.SH RETURN VALUE

.P
Returns the new timer's unique id number.

.SH SEE ALSO

.P
ixp_unsettimer(3), ixp_serverloop(3)

.\" man code generated by txt2tags 2.6 (http://txt2tags.org)
.\" cmdline: txt2tags -o- ixp_settimer.man3