Searched refs:config_fd (Results 1 - 2 of 2) sorted by relevance

/freebsd-12-stable/contrib/ofed/infiniband-diags/src/
H A Dibdiag_common.c123 FILE *config_fd = NULL; local
133 config_fd = fopen(file, "r");
134 if (!config_fd)
137 while (fgets(buf, sizeof buf, config_fd) != NULL) {
172 fclose(config_fd);
/freebsd-12-stable/contrib/ntp/ntpq/
H A Dntpq-subs.c2339 FILE *config_fd; local
2352 config_fd = fopen(pcmd->argval[0].string, "r");
2353 if (NULL == config_fd) {
2361 while (fgets(config_cmd, MAXLINE, config_fd) != NULL) {
2392 fclose(config_fd);
2405 fclose(config_fd);

Completed in 123 milliseconds