In file include/snoop.h:typedef struct BSSpy
Structure for spy processes.
-
struct BSSpy *next
- Pointer to next spy.
-
struct BSSpy *prev
- Pointer to previous spy.
-
pid_t pid
- Unix process ID
-
key_t proc
- Key to the BSProc shared memory
-
key_t qkey
- Key to our message queue.
-
int queue
- We keep the queue identifier handy here
Documentation
Structure for spy processes.
You use the bs_createspy() function to get this reference
for each process you want to watch.
struct BSSpy *next
-
Pointer to next spy.
The Buffalo Snooper library does not maintain
this field in any way. It's there for spy
programs that want to watch many processes
more conveniently.
struct BSSpy *prev
-
Pointer to previous spy.
Not maintained by the library, like the field above.
pid_t pid
-
Unix process ID
key_t proc
-
Key to the BSProc shared memory
key_t qkey
-
Key to our message queue.
This is put into the watched process' structure
when the spy is created.
int queue
-
We keep the queue identifier handy here
- Author:
- Ronny Bangsund
- See Also:
- bs_createspy()
Alphabetic index
This page was generated with the help of DOC++.