Searched defs:fin (Results 1 - 5 of 5) sorted by relevance
/lxc/src/lxc/ |
H A D | initutils.c | 144 FILE *fin = NULL; local 167 fin = fopen_cloexec(user_config_path, "r"); 169 if (fin) { 170 while (fgets(buf, 1024, fin)) { 239 if (fin) 240 fclose(fin);
|
H A D | lxc_user_nic.c | 274 FILE *fin; local 280 fin = fopen(LXC_USERNIC_CONF, "r"); 281 if (!fin) { 287 while ((getline(&line, &len, fin)) != -1) { 327 fclose(fin);
|
H A D | lxccontainer.c | 3489 FILE *fin; local 3494 fin = fopen(path, "r"); 3495 if (!fin) 3497 (void) fseek(fin, 0, SEEK_END); 3498 len = ftell(fin); 3499 (void) fseek(fin, 0, SEEK_SET); 3504 if (fread(s, 1, len, fin) != len) { 3511 fclose(fin);
|
/lxc/src/lxc/lsm/ |
H A D | apparmor.c | 67 FILE *fin; local 71 fin = fopen(AA_ENABLED_FILE, "r"); 72 if (!fin) 74 ret = fscanf(fin, "%c", &e); 75 fclose(fin);
|
/lxc/src/lxc/tools/ |
H A D | lxc_usernsexec.c | 203 FILE *fin; local 210 fin = fopen(fnam, "r"); 211 if (!fin) 213 while (getline(&line, &sz, fin) != -1) { 226 fclose(fin); 237 fclose(fin); 249 fclose(fin);
|
Completed in 973 milliseconds