![]() |
![]() |
![]() |
![]() |
mti_AddOutputReadyCB()
Adds or removes a file/pipe(/socket) output ready callback.
Syntax
mti_AddOutputReadyCB( file_desc, func, param )Returns
Arguments
Description
mti_AddOutputReadyCB() puts a watch on the specified file descriptor. Whenever the file descriptor is available for writing, the specified function is called along with its parameter.
In a UNIX environment, mti_AddOutputReadyCB() can be used with files, pipes, and sockets. In a Windows environment, it can be used only with pipes. (See mti_AddSocketOutputReadyCB().)
To remove a previously added callback, call mti_AddOutputReadyCB() with the same file descriptor but with a NULL function pointer.
Related functions
![]() Model Technology Inc. Voice: (503) 641-1340 Fax: (503)526-5410 http://www.model.com sales@model.com |
![]() |
![]() |
![]() |
![]() |