HomeSort by: relevance | last modified time | path
    Searched defs:acctfile (Results 1 - 12 of 12) sorted by relevancy

  /src/usr.bin/lastcomm/
lastcomm.c 81 const char *acctfile = _PATH_ACCT; local in function:main
90 acctfile = optarg;
103 if ((fp = fopen(acctfile, "r")) == NULL || fstat(fileno(fp), &sb))
104 err(1, "%s", acctfile);
118 err(1, "%s", acctfile);
123 err(1, "%s", acctfile);
157 err(1, "%s", acctfile);
lastcomm.c 81 const char *acctfile = _PATH_ACCT; local in function:main
90 acctfile = optarg;
103 if ((fp = fopen(acctfile, "r")) == NULL || fstat(fileno(fp), &sb))
104 err(1, "%s", acctfile);
118 err(1, "%s", acctfile);
123 err(1, "%s", acctfile);
157 err(1, "%s", acctfile);
lastcomm.c 81 const char *acctfile = _PATH_ACCT; local in function:main
90 acctfile = optarg;
103 if ((fp = fopen(acctfile, "r")) == NULL || fstat(fileno(fp), &sb))
104 err(1, "%s", acctfile);
118 err(1, "%s", acctfile);
123 err(1, "%s", acctfile);
157 err(1, "%s", acctfile);
lastcomm.c 81 const char *acctfile = _PATH_ACCT; local in function:main
90 acctfile = optarg;
103 if ((fp = fopen(acctfile, "r")) == NULL || fstat(fileno(fp), &sb))
104 err(1, "%s", acctfile);
118 err(1, "%s", acctfile);
123 err(1, "%s", acctfile);
157 err(1, "%s", acctfile);
  /src/usr.sbin/lpr/filters/
lpf.c 70 static char *acctfile; /* accounting information file */ variable in typeref:typename:char *
117 acctfile = *argv;
223 if (name && acctfile && access(acctfile, 02) >= 0 &&
224 freopen(acctfile, "a", stdout) != NULL) {
234 "usage: lpf [-c] [-f] [-h host] [-i indent] [-l length] [-n name] [-w width] [acctfile]\n");
lpf.c 70 static char *acctfile; /* accounting information file */ variable in typeref:typename:char *
117 acctfile = *argv;
223 if (name && acctfile && access(acctfile, 02) >= 0 &&
224 freopen(acctfile, "a", stdout) != NULL) {
234 "usage: lpf [-c] [-f] [-h host] [-i indent] [-l length] [-n name] [-w width] [acctfile]\n");
lpf.c 70 static char *acctfile; /* accounting information file */ variable in typeref:typename:char *
117 acctfile = *argv;
223 if (name && acctfile && access(acctfile, 02) >= 0 &&
224 freopen(acctfile, "a", stdout) != NULL) {
234 "usage: lpf [-c] [-f] [-h host] [-i indent] [-l length] [-n name] [-w width] [acctfile]\n");
lpf.c 70 static char *acctfile; /* accounting information file */ variable in typeref:typename:char *
117 acctfile = *argv;
223 if (name && acctfile && access(acctfile, 02) >= 0 &&
224 freopen(acctfile, "a", stdout) != NULL) {
234 "usage: lpf [-c] [-f] [-h host] [-i indent] [-l length] [-n name] [-w width] [acctfile]\n");
  /src/usr.sbin/lpr/pac/
pac.c 63 static char *acctfile; /* accounting file (input data) */ variable in typeref:typename:char *
179 if ((acf = fopen(acctfile, "r")) == NULL)
180 err(1, "%s", acctfile);
319 if ((acf = fopen(acctfile, "w")) == NULL)
320 warn("%s", acctfile);
426 if (cgetstr(bp, "af", &acctfile) == -1) {
432 asprintf(&sumfile, "%s_sum", acctfile);
pac.c 63 static char *acctfile; /* accounting file (input data) */ variable in typeref:typename:char *
179 if ((acf = fopen(acctfile, "r")) == NULL)
180 err(1, "%s", acctfile);
319 if ((acf = fopen(acctfile, "w")) == NULL)
320 warn("%s", acctfile);
426 if (cgetstr(bp, "af", &acctfile) == -1) {
432 asprintf(&sumfile, "%s_sum", acctfile);
pac.c 63 static char *acctfile; /* accounting file (input data) */ variable in typeref:typename:char *
179 if ((acf = fopen(acctfile, "r")) == NULL)
180 err(1, "%s", acctfile);
319 if ((acf = fopen(acctfile, "w")) == NULL)
320 warn("%s", acctfile);
426 if (cgetstr(bp, "af", &acctfile) == -1) {
432 asprintf(&sumfile, "%s_sum", acctfile);
pac.c 63 static char *acctfile; /* accounting file (input data) */ variable in typeref:typename:char *
179 if ((acf = fopen(acctfile, "r")) == NULL)
180 err(1, "%s", acctfile);
319 if ((acf = fopen(acctfile, "w")) == NULL)
320 warn("%s", acctfile);
426 if (cgetstr(bp, "af", &acctfile) == -1) {
432 asprintf(&sumfile, "%s_sum", acctfile);

Completed in 45 milliseconds