Lines Matching defs:filemon
32 #include "filemon.h"
42 # include <filemon.h>
46 #define _PATH_FILEMON "/dev/filemon"
49 struct filemon {
60 struct filemon *
63 struct filemon *F;
67 /* Allocate and zero a struct filemon object. */
72 /* Try opening /dev/filemon, up to six times (cargo cult!). */
89 filemon_setfd(struct filemon *F, int fd)
104 filemon_setpid_parent(struct filemon *F, pid_t pid)
110 filemon_setpid_child(const struct filemon *F, pid_t pid)
118 filemon_close(struct filemon *F)
122 /* Close the filemon device fd. */
126 /* Free the filemon descriptor. */
140 filemon_readfd(const struct filemon *F)
147 filemon_process(struct filemon *F)