/external/iptables/iptables/ |
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);
|
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);
|
/system/core/toolbox/upstream-netbsd/usr.bin/grep/ |
util.c | 110 * the -R option. Each appropriate file is passed to procfile(). 174 c += procfile(p->fts_path); 188 procfile(const char *fn) function
|
/external/qemu/distrib/sdl-1.2.15/src/video/x11/ |
SDL_x11video.c | 286 char procfile[1024]; local 301 SDL_snprintf(procfile, SDL_arraysize(procfile), "/proc/%d/exe", getpid()); 303 SDL_snprintf(procfile, SDL_arraysize(procfile), "/proc/%d/file", getpid()); 307 linksize = readlink(procfile, linkfile, sizeof(linkfile)-1); [all...] |
/external/iptables/libxtables/ |
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); [all...] |