In file lib/main.c:

int bs_havewatchers

(BuffaloSnooper* glob, pid_t pid)

Check if any spies have requested snooping on the current process.

Documentation

Check if any spies have requested snooping on the current process. Internal function; used by all function call wrappers and the log update functions.
Note: A future version will use something more advanced than just an int for a watcher, but for now there's a one spy per process maximum.
Returns:
TRUE if spy processes are watching the current pid.
Author:
Ronny Bangsund
See Also:
BSSpy, bs_createspy(), bs_watch(), bs_check()

Alphabetic index



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