Codebase list gman / 19c4ffe3-3c6e-4556-9607-da4c2fbc66eb/main util.h
19c4ffe3-3c6e-4556-9607-da4c2fbc66eb/main

Tree @19c4ffe3-3c6e-4556-9607-da4c2fbc66eb/main (Download .tar.gz)

util.h @19c4ffe3-3c6e-4556-9607-da4c2fbc66eb/mainraw · history · blame

/* 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;