In file lib/main.c:

BSSpy* bs_createspy

(pid_t pid)

Watch the logs from a specific process.

Documentation

Watch the logs from a specific process. This only works if snooping has been activated for the process, and no other spy is already watching. A near-future version will allow multiple spies.
Parameters:
- pid Process identifier to look for.
loglimit - Number of log entries to allow at most. Defaults to ???? entries.
Returns:
A pointer to a spy structure.
Author:
Ronny Bangsund
See Also:
BSSpy, bs_watch(), bs_check()

Alphabetic index



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