Home | History | Annotate | Line # | Download | only in patch
util.h revision 1.8
      1 /*	$NetBSD: util.h,v 1.8 2002/03/16 22:36:42 kristerw Exp $	*/
      2 
      3 int move_file(char *, char *);
      4 void copy_file(char *, char *);
      5 void *xmalloc(size_t);
      6 char *xstrdup(const char *);
      7 char *savestr(char *);
      8 void say(const char *, ...)
      9      __attribute__((__format__(__printf__, 1, 2)));
     10 void fatal(const char *, ...)
     11      __attribute__((__format__(__printf__, 1, 2)));
     12 void pfatal(const char *, ...)
     13      __attribute__((__format__(__printf__, 1, 2)));
     14 void ask(const char *, ...)
     15      __attribute__((__format__(__printf__, 1, 2)));
     16 void set_signals(int);
     17 void ignore_signals(void);
     18 void makedirs(char *, bool);
     19 char *fetchname(char *, int, int);
     20