mirror of
https://github.com/jrbrtsn/ban2fail
synced 2024-06-16 03:48:03 +00:00
Fixed comments
This commit is contained in:
parent
a2c8b7d4d4
commit
c4da76c85e
2
es.c
2
es.c
@ -431,7 +431,7 @@ ES_registerVSignal (
|
|||||||
*
|
*
|
||||||
* signum: Any integer number which is meaningful to your application.
|
* signum: Any integer number which is meaningful to your application.
|
||||||
* callback_f: callback function for when activity is detected.
|
* callback_f: callback function for when activity is detected.
|
||||||
* ctxt: Pointer which will be passed as the last argument to callback_f().
|
* ctxt: Pointer which will be passed as the first argument to callback_f().
|
||||||
*
|
*
|
||||||
* RETURNS:
|
* RETURNS:
|
||||||
* If successful, a positive integer which can be used to unregister the callback.
|
* If successful, a positive integer which can be used to unregister the callback.
|
||||||
|
8
es.h
8
es.h
@ -28,7 +28,7 @@ ES_registerFd (
|
|||||||
* fd: the file descriptor to be registered.
|
* fd: the file descriptor to be registered.
|
||||||
* events: event bits to monitor (see: man 2 poll).
|
* events: event bits to monitor (see: man 2 poll).
|
||||||
* callback_f: callback function for when activity is detected.
|
* callback_f: callback function for when activity is detected.
|
||||||
* ctxt: Pointer which will be passed as the last argument to callback_f().
|
* ctxt: Pointer which will be passed as the first argument to callback_f().
|
||||||
*
|
*
|
||||||
* RETURNS:
|
* RETURNS:
|
||||||
* If successful, a positive integer which can be used to unregister the callback.
|
* If successful, a positive integer which can be used to unregister the callback.
|
||||||
@ -48,7 +48,7 @@ ES_registerSignal (
|
|||||||
*
|
*
|
||||||
* signum: Unix signal number of interest (type "trap -l" on command line to see a list of signals)
|
* signum: Unix signal number of interest (type "trap -l" on command line to see a list of signals)
|
||||||
* callback_f: callback function for when activity is detected.
|
* callback_f: callback function for when activity is detected.
|
||||||
* ctxt: Pointer which will be passed as the last argument to callback_f().
|
* ctxt: Pointer which will be passed as the first argument to callback_f().
|
||||||
*
|
*
|
||||||
* RETURNS:
|
* RETURNS:
|
||||||
* If successful, a positive integer which can be used to unregister the callback.
|
* If successful, a positive integer which can be used to unregister the callback.
|
||||||
@ -67,7 +67,7 @@ ES_registerVSignal (
|
|||||||
*
|
*
|
||||||
* signum: Any integer number which is meaningful to your application.
|
* signum: Any integer number which is meaningful to your application.
|
||||||
* callback_f: callback function for when activity is detected.
|
* callback_f: callback function for when activity is detected.
|
||||||
* ctxt: Pointer which will be passed as the last argument to callback_f().
|
* ctxt: Pointer which will be passed as the first argument to callback_f().
|
||||||
*
|
*
|
||||||
* RETURNS:
|
* RETURNS:
|
||||||
* If successful, a positive integer which can be used to unregister the callback.
|
* If successful, a positive integer which can be used to unregister the callback.
|
||||||
@ -103,7 +103,7 @@ ES_registerTimer (
|
|||||||
* interval_ms: How many milliseconds to wait between successive firings.
|
* interval_ms: How many milliseconds to wait between successive firings.
|
||||||
* if this is 0, the timer is single shot.
|
* if this is 0, the timer is single shot.
|
||||||
* callback_f: callback function for when timer expires.
|
* callback_f: callback function for when timer expires.
|
||||||
* ctxt: Pointer which will be passed as the last argument to callback_f().
|
* ctxt: Pointer which will be passed as the first argument to callback_f().
|
||||||
*
|
*
|
||||||
* RETURNS:
|
* RETURNS:
|
||||||
* If successful, a positive integer which can be used to unregister the callback.
|
* If successful, a positive integer which can be used to unregister the callback.
|
||||||
|
Loading…
Reference in New Issue
Block a user