2002-03-17 01:36:42 +03:00
|
|
|
/* $NetBSD: util.h,v 1.8 2002/03/16 22:36:42 kristerw Exp $ */
|
1993-04-09 15:33:50 +04:00
|
|
|
|
2002-03-09 00:57:33 +03:00
|
|
|
int move_file(char *, char *);
|
|
|
|
void copy_file(char *, char *);
|
2002-03-17 01:36:42 +03:00
|
|
|
void *xmalloc(size_t);
|
|
|
|
char *xstrdup(const char *);
|
2002-03-09 00:57:33 +03:00
|
|
|
char *savestr(char *);
|
|
|
|
void say(const char *, ...)
|
2000-10-11 18:46:00 +04:00
|
|
|
__attribute__((__format__(__printf__, 1, 2)));
|
2002-03-09 00:57:33 +03:00
|
|
|
void fatal(const char *, ...)
|
2000-10-11 18:46:00 +04:00
|
|
|
__attribute__((__format__(__printf__, 1, 2)));
|
2002-03-09 00:57:33 +03:00
|
|
|
void pfatal(const char *, ...)
|
2000-10-11 18:46:00 +04:00
|
|
|
__attribute__((__format__(__printf__, 1, 2)));
|
2002-03-09 00:57:33 +03:00
|
|
|
void ask(const char *, ...)
|
2000-10-11 18:46:00 +04:00
|
|
|
__attribute__((__format__(__printf__, 1, 2)));
|
2002-03-09 00:57:33 +03:00
|
|
|
void set_signals(int);
|
|
|
|
void ignore_signals(void);
|
|
|
|
void makedirs(char *, bool);
|
|
|
|
char *fetchname(char *, int, int);
|