File: util.h

package info (click to toggle)
gman 0.0.8-6
  • links: PTS
  • area: main
  • in suites: woody
  • size: 244 kB
  • ctags: 354
  • sloc: ansic: 3,208; makefile: 60
file content (16 lines) | stat: -rw-r--r-- 455 bytes parent folder | download | duplicates (8)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
/* functions and variables exported from util.c */

void get_permissions (void);
void no_privileges (void);
char *my_malloc (int n);
char *my_strdup (char *s);
char *mkprogname (char *s);
int is_newer (char *fa, char *fb);
int do_system_command (char *cmd, int silent);
FILE *my_popen(const char *cmd, const char *type);
void gripe (int n, ...);
void fatal (int n, ...);

extern int ruid, rgid, euid, egid, suid;
extern char * progname;
extern int debug;