summaryrefslogtreecommitdiffstats
path: root/src/util.h
blob: c317bd99ba5331aa11185023be073aed45dba257 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
/* functions and variables exported from util.c */

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

extern int ruid, rgid, euid, egid, suid;