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

/freebsd-12-stable/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.c64 static char linestr[AU_LINE_MAX]; variable
119 if (fgets(linestr, AU_LINE_MAX, fp) == NULL) {
125 if (linestr[0] == '#')
129 nl = strchr(linestr, '\0') - 1;
130 while (nl >= linestr && ('\n' == *nl || ' ' == *nl ||
136 tokptr = linestr;

Completed in 103 milliseconds