Searched refs:hist_name (Results 1 – 3 of 3) sorted by relevance
/external/iproute2/misc/ |
D | rtacct.c | 438 char hist_name[128]; in main() local 538 snprintf(hist_name, sizeof(hist_name), "%s", 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()
|
D | nstat.c | 448 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()
|
D | ifstat.c | 586 char hist_name[128]; in main() local 676 snprintf(hist_name, sizeof(hist_name), in main() 679 snprintf(hist_name, sizeof(hist_name), in main() 683 unlink(hist_name); in main() 688 fd = open(hist_name, O_RDWR|O_CREAT|O_NOFOLLOW, 0600); in main()
|