Searched refs:hist_name (Results 1 - 3 of 3) sorted by relevance

/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/iproute2/misc/
H A Drtacct.c438 char hist_name[128]; local
538 snprintf(hist_name, sizeof(hist_name), getenv("RTACCT_HISTORY"));
540 sprintf(hist_name, "/tmp/.rtacct.u%d", getuid());
543 unlink(hist_name);
548 fd = open(hist_name, O_RDWR|O_CREAT|O_NOFOLLOW, 0600);
H A Difstat.c590 char hist_name[128]; local
680 snprintf(hist_name, sizeof(hist_name), getenv("IFSTAT_HISTORY"));
682 sprintf(hist_name, "%s/.ifstat.u%d", P_tmpdir, getuid());
685 unlink(hist_name);
690 fd = open(hist_name, O_RDWR|O_CREAT|O_NOFOLLOW, 0600);
H A Dnstat.c448 char hist_name[128]; local
530 snprintf(hist_name, sizeof(hist_name), getenv("NSTAT_HISTORY"));
532 sprintf(hist_name, "/tmp/.nstat.u%d", getuid());
535 unlink(hist_name);
540 fd = open(hist_name, O_RDWR|O_CREAT|O_NOFOLLOW, 0600);

Completed in 74 milliseconds