X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~mdw/git/disorder/blobdiff_plain/e7eb3a2744aa45179daea235800753d3d1955338..ad0c0f361be0:/lib/syscalls.h?ds=inline diff --git a/lib/syscalls.h b/lib/syscalls.h index 7031eac..e45125a 100644 --- a/lib/syscalls.h +++ b/lib/syscalls.h @@ -15,7 +15,9 @@ * You should have received a copy of the GNU General Public License * along with this program. If not, see . */ - +/** @file lib/syscalls.h + * @brief Error-checking library call wrappers + */ #ifndef SYSCALLS_H #define SYSCALLS_H @@ -46,6 +48,7 @@ int xprintf(const char *, ...) void xfclose(FILE *); int xnice(int); void xgettimeofday(struct timeval *, struct timezone *); +time_t xtime(time_t *when); /* the above all call @fatal@ if the system call fails */ void nonblock(int fd);