diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/bsd/stdlib.h | 9 | ||||
-rw-r--r-- | include/bsd/string.h | 2 |
2 files changed, 10 insertions, 1 deletions
diff --git a/include/bsd/stdlib.h b/include/bsd/stdlib.h new file mode 100644 index 0000000..4881e57 --- /dev/null +++ b/include/bsd/stdlib.h @@ -0,0 +1,9 @@ +#ifndef LIBBSD_STDLIB_H +#define LIBBSD_STDLIB_H + +#include <sys/types.h> +#include <stdio.h> + +const char *fmtcheck(const char *, const char *); + +#endif diff --git a/include/bsd/string.h b/include/bsd/string.h index 70a9b38..bdda3fd 100644 --- a/include/bsd/string.h +++ b/include/bsd/string.h @@ -7,6 +7,6 @@ size_t strlcpy(char *dst, const char *src, size_t siz); size_t strlcat(char *dst, const char *src, size_t siz); char *fgetln(FILE *fp, size_t *lenp); -const char *fmtcheck(const char *, const char *); +wchar_t *fgetwln(FILE * __restrict fp, size_t *lenp); #endif |