Searched refs:linestr (Results 1 - 4 of 4) sorted by relevance

/freebsd-10.2-release/contrib/openbsm/libbsm/
H A Dbsm_event.c54 static char linestr[AU_LINE_MAX]; variable
161 if (fgets(linestr, AU_LINE_MAX, fp) == NULL)
165 if ((nl = strrchr(linestr, '\n')) != NULL)
169 if (linestr[0] == '#')
173 if (eventfromstr(linestr, e) == NULL)
230 while (fgets(linestr, AU_LINE_MAX, fp) != NULL) {
232 if ((nl = strrchr(linestr, '\n')) != NULL)
235 if (eventfromstr(linestr, e) != NULL) {
288 while (fgets(linestr, AU_LINE_MAX, fp) != NULL) {
290 if ((nl = strrchr(linestr, '\
[all...]
H A Dbsm_class.c53 static char linestr[AU_LINE_MAX]; variable
114 if (fgets(linestr, AU_LINE_MAX, fp) == NULL)
118 if (linestr[0] == '#')
122 if ((nl = strrchr(linestr, '\n')) != NULL)
126 tokptr = linestr;
H A Dbsm_user.c53 static char linestr[AU_LINE_MAX]; variable
144 if (fgets(linestr, AU_LINE_MAX, fp) == NULL)
148 if ((nl = strrchr(linestr, '\n')) != NULL)
152 if (linestr[0] == '#')
156 if (userfromstr(linestr, u) == NULL)
H A Dbsm_control.c61 static char linestr[AU_LINE_MAX]; variable
116 if (fgets(linestr, AU_LINE_MAX, fp) == NULL) {
122 if (linestr[0] == '#')
126 nl = strchr(linestr, '\0') - 1;
127 while (nl >= linestr && ('\n' == *nl || ' ' == *nl ||
133 tokptr = linestr;

Completed in 108 milliseconds