comparison lib/lib.h @ 214:98820d1eaa79

Upgrade patch to understand creating and deleting files.
author Rob Landley <rob@landley.net>
date Thu, 20 Dec 2007 06:30:19 -0600
parents 9a0d4e8a9c61
children 5697a3f7c8cf
comparison
equal deleted inserted replaced
213:db91356e3c43 214:98820d1eaa79
58 void xputs(char *s); 58 void xputs(char *s);
59 void xputc(char c); 59 void xputc(char c);
60 void xflush(void); 60 void xflush(void);
61 void xexec(char **argv); 61 void xexec(char **argv);
62 void xaccess(char *path, int flags); 62 void xaccess(char *path, int flags);
63 void xunlink(char *path);
63 int xcreate(char *path, int flags, int mode); 64 int xcreate(char *path, int flags, int mode);
64 int xopen(char *path, int flags); 65 int xopen(char *path, int flags);
65 void xclose(int fd); 66 void xclose(int fd);
66 FILE *xfopen(char *path, char *mode); 67 FILE *xfopen(char *path, char *mode);
67 ssize_t readall(int fd, void *buf, size_t len); 68 ssize_t readall(int fd, void *buf, size_t len);