mailx: ignore SIGPIPE
[mailx.git] / util.h
blobf6cbb339a02473be3732f81d7d96c77b2371abba
1 #define MIN(a, b) ((a) < (b) ? (a) : (b))
3 int file_size(int fd);
4 int xread(int fd, char *buf, int len);
5 int xwrite(int fd, char *buf, int len);
6 void exec_file(char *filename, char **args);
7 void exec_pipe(char *file, char **argv, char *s, int len);