/* $Id: trigger_pull.c 616 2005-08-19 20:11:01Z bruce $ */ #include "sysdeps.h" #include #include #include "trigger.h" /** Activate a trigger. */ void trigger_pull(const char* path) { int fd; if ((fd = open(path, O_WRONLY | O_NDELAY)) >= 0) { write(fd, "", 1); close(fd); } }