Home
last modified time | relevance | path

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

/external/iproute2/misc/
Drtacct.c433 char hist_name[128]; in main() local
534 snprintf(hist_name, sizeof(hist_name), "%s", getenv("RTACCT_HISTORY")); in main()
536 sprintf(hist_name, "/tmp/.rtacct.u%d", getuid()); in main()
539 unlink(hist_name); in main()
544 fd = open(hist_name, O_RDWR|O_CREAT|O_NOFOLLOW, 0600); in main()
Difstat.c820 char hist_name[128]; in main() local
928 snprintf(hist_name, sizeof(hist_name), in main()
932 snprintf(hist_name, sizeof(hist_name), in main()
935 snprintf(hist_name, sizeof(hist_name), in main()
940 unlink(hist_name); in main()
945 fd = open(hist_name, O_RDWR|O_CREAT|O_NOFOLLOW, 0600); in main()
Dnstat.c560 char *hist_name; in main() local
648 if ((hist_name = getenv("NSTAT_HISTORY")) == NULL) { in main()
649 hist_name = malloc(128); in main()
650 sprintf(hist_name, "/tmp/.nstat.u%d", getuid()); in main()
654 unlink(hist_name); in main()
659 fd = open(hist_name, O_RDWR|O_CREAT|O_NOFOLLOW, 0600); in main()