Home | History | Annotate | Line # | Download | only in patch
util.h revision 1.7
      1 /*	$NetBSD: util.h,v 1.7 2002/03/11 18:47:51 kristerw Exp $	*/
      2 
      3 EXT char serrbuf[BUFSIZ];		/* buffer for stderr */
      4 
      5 int move_file(char *, char *);
      6 void copy_file(char *, 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