Home
last modified time | relevance | path

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

/external/iproute2/misc/
Drtacct.c438 char hist_name[128]; in main() local
538 snprintf(hist_name, sizeof(hist_name), getenv("RTACCT_HISTORY")); in main()
540 sprintf(hist_name, "/tmp/.rtacct.u%d", getuid()); in main()
543 unlink(hist_name); in main()
548 fd = open(hist_name, O_RDWR|O_CREAT|O_NOFOLLOW, 0600); in main()
Dnstat.c448 char *hist_name; in main() local
529 if ((hist_name = getenv("NSTAT_HISTORY")) == NULL) { in main()
530 hist_name = malloc(128); in main()
531 sprintf(hist_name, "/tmp/.nstat.u%d", getuid()); in main()
535 unlink(hist_name); in main()
540 fd = open(hist_name, O_RDWR|O_CREAT|O_NOFOLLOW, 0600); in main()
Difstat.c590 char hist_name[128]; in main() local
680 snprintf(hist_name, sizeof(hist_name), getenv("IFSTAT_HISTORY")); in main()
682 sprintf(hist_name, "%s/.ifstat.u%d", P_tmpdir, getuid()); in main()
685 unlink(hist_name); in main()
690 fd = open(hist_name, O_RDWR|O_CREAT|O_NOFOLLOW, 0600); in main()