Archived
1
0
Fork 0
This repository has been archived on 2026-05-10. You can view files and clone it, but you cannot make any changes to it's state, such as pushing and creating new issues, pull requests or comments.
archived/src/util.h
Henrik Hautakoski 6ac76b1830 src/util.h: switched file_exists macro to function.
the macro returns true for directories aswell, using stat.h instead.
2010-10-23 11:11:08 +02:00

20 lines
519 B
C

/* util.h
*
* Copyright (C) 2010 Henrik Hautakoski <henrik@fiktivkod.org>
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*/
#ifndef __COMMON_UTIL_H
#define __COMMON_UTIL_H
void die(const char *, ...);
void die_errno(const char *);
int file_exists(const char *);
#endif /* __COMMOT_UTIL_H */