ixp_settimer.3 (784B)
1 .TH "IXP_SETTIMER" 3 "2010 Jun" "libixp Manual" 2 3 .SH NAME 4 .P 5 ixp_settimer 6 7 .SH SYNOPSIS 8 .nf 9 #include <ixp.h> 10 11 long ixp_settimer(IxpServer *srv, long msec, void (*fn)(long, void *), void *aux); 12 .fi 13 14 .SH PARAMETERS 15 .TP 16 msec 17 The timeout in milliseconds. 18 .TP 19 fn 20 The function to call after ImsecR milliseconds 21 have elapsed. 22 .TP 23 aux 24 An arbitrary argument to pass to IfnR when it 25 is called. 26 27 .SH DESCRIPTION 28 .P 29 Initializes a callback\-based timer to be triggerred after 30 ImsecR milliseconds. The timer is passed its id number 31 and the value of IauxR. 32 33 .SH RETURN VALUE 34 .P 35 Returns the new timer's unique id number. 36 37 .SH SEE ALSO 38 .P 39 ixp_unsettimer(3), ixp_serverloop(3) 40 41 42 .\" man code generated by txt2tags 2.5 (http://txt2tags.sf.net) 43 .\" cmdline: txt2tags -o- ixp_settimer.man3 44