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

/freebsd-11.0-release/contrib/openbsm/libbsm/
H A Dbsm_event.c52 static char linestr[AU_LINE_MAX]; variable
159 if (fgets(linestr, AU_LINE_MAX, fp) == NULL)
163 if ((nl = strrchr(linestr, '\n')) != NULL)
167 if (linestr[0] == '#')
171 if (eventfromstr(linestr, e) == NULL)
228 while (fgets(linestr, AU_LINE_MAX, fp) != NULL) {
230 if ((nl = strrchr(linestr, '\n')) != NULL)
233 if (eventfromstr(linestr, e) != NULL) {
286 while (fgets(linestr, AU_LINE_MAX, fp) != NULL) {
288 if ((nl = strrchr(linestr, '\
[all...]
H A Dbsm_class.c51 static char linestr[AU_LINE_MAX]; variable
112 if (fgets(linestr, AU_LINE_MAX, fp) == NULL)
116 if (linestr[0] == '#')
120 if ((nl = strrchr(linestr, '\n')) != NULL)
124 tokptr = linestr;
H A Dbsm_user.c51 static char linestr[AU_LINE_MAX]; variable
142 if (fgets(linestr, AU_LINE_MAX, fp) == NULL)
146 if ((nl = strrchr(linestr, '\n')) != NULL)
150 if (linestr[0] == '#')
154 if (userfromstr(linestr, u) == NULL)
H A Dbsm_control.c59 static char linestr[AU_LINE_MAX]; variable
114 if (fgets(linestr, AU_LINE_MAX, fp) == NULL) {
120 if (linestr[0] == '#')
124 nl = strchr(linestr, '\0') - 1;
125 while (nl >= linestr && ('\n' == *nl || ' ' == *nl ||
131 tokptr = linestr;

Completed in 98 milliseconds