Annotation of src/usr.bin/patch/util.h, Revision 1.9
1.9 ! millert 1: /* $OpenBSD: util.h,v 1.8 2003/07/22 17:21:07 deraadt Exp $ */
1.1 deraadt 2:
1.5 deraadt 3: char *fetchname(char *, int, int);
1.9 ! millert 4: int backup_file(char *);
1.5 deraadt 5: int move_file(char *, char *);
1.9 ! millert 6: int copy_file(char *, char *);
1.5 deraadt 7: void say(char *, ...);
1.7 otto 8: void fatal(char *, ...)
1.8 deraadt 9: __attribute__((__format__(__printf__, 1, 2)));
1.7 otto 10: void pfatal(char *, ...)
1.8 deraadt 11: __attribute__((__format__(__printf__, 1, 2)));
1.7 otto 12: void ask(char *, ...)
1.8 deraadt 13: __attribute__((__format__(__printf__, 1, 2)));
1.5 deraadt 14: char *savestr(char *);
15: void set_signals(int);
16: void ignore_signals(void);
17: void makedirs(char *, bool);
18: void version(void);
1.7 otto 19: void my_exit(int) __attribute__((noreturn));