Lines Matching defs:filemon
32 #include "filemon.h"
42 # include <filemon.h>
46 #define _PATH_FILEMON "/dev/filemon"
53 struct filemon {
64 struct filemon *
67 struct filemon *F;
71 /* Allocate and zero a struct filemon object. */
76 /* Try opening /dev/filemon, up to six times (cargo cult!). */
93 filemon_setfd(struct filemon *F, int fd)
108 filemon_setpid_parent(struct filemon *F MAKE_ATTR_UNUSED, pid_t pid MAKE_ATTR_UNUSED)
114 filemon_setpid_child(const struct filemon *F, pid_t pid)
122 filemon_close(struct filemon *F)
126 /* Close the filemon device fd. */
130 /* Free the filemon descriptor. */
144 filemon_readfd(const struct filemon *F MAKE_ATTR_UNUSED)
151 filemon_process(struct filemon *F MAKE_ATTR_UNUSED)