File: util.h

package info (click to toggle)
gman 0.9.3-5.3
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye
  • size: 652 kB
  • sloc: ansic: 7,389; makefile: 131; perl: 105
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;