gawk

[old] Sed-like interface to the Gopher protocol
Log | Files | Refs | LICENSE

commit c1fef69e2942757b90eb6ebe0c0cd231fceb57db
parent 980621c45fabef68a9146bb28b61b180c959e19c
Author: Jacob R. Edwards <jacobouno@protonmail.com>
Date:   Mon,  4 Jan 2021 17:59:37 -0800

Add util.h

Forgot to add it to the last commit.

Diffstat:
Autil.h | 14++++++++++++++
1 file changed, 14 insertions(+), 0 deletions(-)

diff --git a/util.h b/util.h @@ -0,0 +1,14 @@ +#ifndef _util_h +#define _util_h + +#include <stdio.h> + +FILE *wfopen(const char *, const char *); +int exists(const char *); +int strtorange(unsigned int *r, unsigned int min, unsigned int max, const char *s); +int warg(int, int, int, const char **); +int wfclose(FILE *); +int wremove(const char *); +void tr(char *, const char *, int, int); + +#endif /* _util_h */