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

/sssd/src/util/
H A Dnscd.c140 FILE *fp; local
146 fp = fopen(conf_path, "r");
147 if (fp == NULL) {
153 while (getline(&line, &linelen, fp) != -1) {
202 ret = ferror(fp);
219 fclose(fp);
/sssd/src/tools/common/
H A Dsss_colondb.c270 FILE *fp = NULL; local
277 fp = filename == NULL ? stdin : fopen(filename, "r");
280 fp = filename == NULL ? stdout : fopen(filename, "w");
284 if (fp == NULL && filename != NULL) {
290 return fp;
/sssd/src/tests/cmocka/
H A Dtest_tools_colondb.c51 FILE *fp = NULL; local
61 fp = fopen(file_name, "w");
62 assert_non_null(fp);
63 fclose(fp);
H A Dtest_pam_srv.c101 FILE *fp; local
127 fp = fopen(NSS_DB_PATH"/pkcs11.txt", "w");
128 if (fp == NULL) {
132 ret = fprintf(fp, "library=libsoftokn3.so\nname=soft\n");
137 ret = fprintf(fp, "parameters=configdir='sql:%s/src/tests/cmocka/p11_nssdb' dbSlotDescription='SSSD Test Slot' dbTokenDescription='SSSD Test Token' secmod='secmod.db' flags=readOnly \n\n", ABS_SRC_DIR);
142 ret = fclose(fp);

Completed in 2043 milliseconds