In file lib/main.c:

int bs_watch

(BSSpy* spy)

Loop until at least one new log entry has been created for the process.

Documentation

Loop until at least one new log entry has been created for the process. This function will also return if a process exits. Look at the returncode in the BSSpy struct and check if the result was BS_OK or BS_QUIT.
Returns:
Number of entries newly available, or NULL if process exited.
Author:
Ronny Bangsund
See Also:
BSSpy, bs_createspy(), bs_check()

Alphabetic index



This page was generated with the help of DOC++.