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