HomeSort by relevance Sort by last modified time
    Searched full:hist_name (Results 1 - 3 of 3) sorted by null

  /external/iproute2/misc/
nstat.c 448 char *hist_name; local
529 if ((hist_name = getenv("NSTAT_HISTORY")) == NULL) {
530 hist_name = malloc(128);
531 sprintf(hist_name, "/tmp/.nstat.u%d", getuid());
535 unlink(hist_name);
540 fd = open(hist_name, O_RDWR|O_CREAT|O_NOFOLLOW, 0600);
rtacct.c 438 char hist_name[128]; local
538 snprintf(hist_name, sizeof(hist_name), "%s", 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);
ifstat.c 586 char hist_name[128]; local
676 snprintf(hist_name, sizeof(hist_name),
679 snprintf(hist_name, sizeof(hist_name),
683 unlink(hist_name);
688 fd = open(hist_name, O_RDWR|O_CREAT|O_NOFOLLOW, 0600);

Completed in 78 milliseconds