Subversion Repositories planix.SVN

Rev

Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
2 - 1
/* utility functions for `patch' */
2
 
3
/* $Id: util.h,v 1.15 1997/07/16 12:26:36 eggert Exp $ */
4
 
5
int ok_to_reverse PARAMS ((char const *, ...)) __attribute__ ((format (printf, 1, 2)));
6
void ask PARAMS ((char const *, ...)) __attribute__ ((format (printf, 1, 2)));
7
void say PARAMS ((char const *, ...)) __attribute__ ((format (printf, 1, 2)));
8
 
9
void fatal PARAMS ((char const *, ...))
10
	__attribute__ ((noreturn, format (printf, 1, 2)));
11
void pfatal PARAMS ((char const *, ...))
12
	__attribute__ ((noreturn, format (printf, 1, 2)));
13
 
14
char *fetchname PARAMS ((char *, int, time_t *));
15
char *savebuf PARAMS ((char const *, size_t));
16
char *savestr PARAMS ((char const *));
17
char const *version_controller PARAMS ((char const *, int, struct stat const *, char **, char **));
18
int version_get PARAMS ((char const *, char const *, int, int, char const *, struct stat *));
19
int create_file PARAMS ((char const *, int, mode_t));
20
int systemic PARAMS ((char const *));
21
void Fseek PARAMS ((FILE *, file_offset, int));
22
void copy_file PARAMS ((char const *, char const *, mode_t));
23
void exit_with_signal PARAMS ((int)) __attribute__ ((noreturn));
24
void ignore_signals PARAMS ((void));
25
void init_time PARAMS ((void));
26
void memory_fatal PARAMS ((void)) __attribute__ ((noreturn));
27
void move_file PARAMS ((char const *, char *, mode_t, int));
28
void read_fatal PARAMS ((void)) __attribute__ ((noreturn));
29
void remove_prefix PARAMS ((char *, size_t));
30
void removedirs PARAMS ((char *));
31
void set_signals PARAMS ((int));
32
void write_fatal PARAMS ((void)) __attribute__ ((noreturn));