Searched refs:fp (Results 1 - 4 of 4) sorted by relevance
/sssd/src/util/ |
H A D | nscd.c | 140 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 D | sss_colondb.c | 270 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 D | test_tools_colondb.c | 51 FILE *fp = NULL; local 61 fp = fopen(file_name, "w"); 62 assert_non_null(fp); 63 fclose(fp);
|
H A D | test_pam_srv.c | 101 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 2889 milliseconds