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