callisto/util.h
Jeremy Baxter 290289cbf5 Refactor and fix up a lot of code
Don't tell the boss I forgot a couple of free()s...
2023-11-26 17:13:41 +13:00

17 lines
296 B
C

#ifndef _UTIL_H_
#define _UTIL_H_
#include <string.h>
#include <lua.h>
int lfail(lua_State *);
int lfailm(lua_State *, const char *);
#ifndef BSD
size_t strlcat(char *, const char *, size_t);
size_t strlcpy(char *, const char *, size_t);
#endif
void strprepend(char *, const char *);
#endif