/external/iptables/iptables/ |
ip6tables-save.c | 41 FILE *procfile = NULL; local 44 procfile = fopen("/proc/net/ip6_tables_names", "re"); 45 if (!procfile) 48 while (fgets(tablename, sizeof(tablename), procfile)) { 57 fclose(procfile);
|
iptables-save.c | 39 FILE *procfile = NULL; local 42 procfile = fopen("/proc/net/ip_tables_names", "re"); 43 if (!procfile) 46 while (fgets(tablename, sizeof(tablename), procfile)) { 55 fclose(procfile);
|
xtables.c | 298 int procfile; local 302 procfile = open(PROC_SYS_MODPROBE, O_RDONLY); 303 if (procfile < 0) 305 if (fcntl(procfile, F_SETFD, FD_CLOEXEC) == -1) { 314 switch (read(procfile, ret, PROCFILE_BUFSIZ)) { 320 close(procfile); 325 close(procfile); [all...] |
/system/core/toolbox/grep/ |
util.c | 109 * the -R option. Each appropriate file is passed to procfile(). 173 c += procfile(p->fts_path); 187 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...] |