Skip to content

Commit

Permalink
Docs
Browse files Browse the repository at this point in the history
  • Loading branch information
gabrielg committed Apr 9, 2012
1 parent aeb4eb6 commit 03bc52f
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions kqfm.c
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,10 @@ void print_usage(FILE *out)
fprintf(out, " -e --event=EVENT Event(s) to capture. See man page.\n");
}

/* Given a pointer to a string and a pointer to a flag variable, finds if the
* string matches any known event name (see flag_descs), and sets a bit in the
* flag variable to the corresponding event flag value.
*/
void handle_event_flag(char *event_flag, uint32_t *watch_flags)
{
char *uppered_flag;
Expand Down

0 comments on commit 03bc52f

Please sign in to comment.