Searched refs:procfile (Results 1 - 5 of 5) sorted by relevance
/external/iptables/iptables/ |
H A D | ip6tables-save.c | 40 FILE *procfile = NULL; local 43 procfile = fopen("/proc/net/ip6_tables_names", "re"); 44 if (!procfile) 47 while (fgets(tablename, sizeof(tablename), procfile)) { 56 fclose(procfile);
|
H A D | iptables-save.c | 38 FILE *procfile = NULL; local 41 procfile = fopen("/proc/net/ip_tables_names", "re"); 42 if (!procfile) 45 while (fgets(tablename, sizeof(tablename), procfile)) { 54 fclose(procfile);
|
/external/elfutils/src/libdwfl/ |
H A D | linux-pid-attach.c | 46 FILE *procfile; local 50 procfile = fopen (buffer, "r"); 51 if (procfile == NULL) 55 while (fgets (buffer, sizeof (buffer), procfile) != NULL) 62 fclose (procfile); 292 FILE *procfile; local 298 procfile = fopen (buffer, "r"); 299 if (procfile == NULL) 313 while (getline (&line, &linelen, procfile) >= 0) 327 fclose (procfile); [all...] |
/external/iptables/libxtables/ |
H A D | xtables.c | 306 int procfile; local 310 procfile = open(PROC_SYS_MODPROBE, O_RDONLY); 311 if (procfile < 0) 313 if (fcntl(procfile, F_SETFD, FD_CLOEXEC) == -1) { 321 count = read(procfile, ret, PATH_MAX); 328 close(procfile); 333 close(procfile);
|
/external/libvncserver/x11vnc/ |
H A D | solid.c | 629 char procfile[32]; 631 sprintf(procfile, "/proc/%d", pid); 632 if (stat(procfile, &sb) == 0) {
|
Completed in 135 milliseconds