summaryrefslogtreecommitdiff
path: root/usr.bin/patch/util.h
blob: dfeaaad4c221a7be9cc82d7fbe48613e89208637 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
/* $OpenBSD: util.h,v 1.5 2003/07/21 14:00:41 deraadt Exp $ */

/* and for those machine that can't handle a variable argument list */

EXT char	serrbuf[BUFSIZ];/* buffer for stderr */

char		*fetchname(char *, int, int);
int		move_file(char *, char *);
void		copy_file(char *, char *);
void		say(char *, ...);
void		fatal(char *, ...);
void		pfatal(char *, ...);
void		ask(char *, ...);
char		*savestr(char *);
void		set_signals(int);
void		ignore_signals(void);
void		makedirs(char *, bool);
void		version(void);