/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...] |
/external/qemu/distrib/sdl-1.2.12/src/video/x11/ |
SDL_x11video.c | 285 char procfile[1024]; local 300 SDL_snprintf(procfile, SDL_arraysize(procfile), "/proc/%d/exe", getpid()); 302 SDL_snprintf(procfile, SDL_arraysize(procfile), "/proc/%d/file", getpid()); 306 linksize = readlink(procfile, linkfile, sizeof(linkfile)-1); [all...] |