[go: up one dir, main page]

File: pacct_rd.h

package info (click to toggle)
acct 6.3.5-17
  • links: PTS
  • area: main
  • in suites: potato
  • size: 812 kB
  • ctags: 563
  • sloc: ansic: 5,690; sh: 556; cpp: 287; makefile: 175; perl: 18
file content (23 lines) | stat: -rw-r--r-- 588 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
/* pacct_rd.h
 *
 * protos & etc. for routines that read from pacct/acct files */

#include "config.h"

#include "files.h"

/* This looks strange, but it's real ANSI C. */

extern struct acct pacct_rd_never_used;

#define COMM_LEN ((int) sizeof (pacct_rd_never_used.ac_comm))

void pacct_init PARAMS((int backwards));
void add_pacct_file PARAMS((char *name));
struct acct *pacct_get_entry PARAMS((void));
void print_pacct_record PARAMS((struct acct *rec, FILE *out));
void pacct_print_file_and_line PARAMS((FILE *out));

#ifdef HAVE_COMP_T
double comp_t_2_double PARAMS((comp_t));
#endif