From 4f45c61a4e778a8124ae362dd5339b329b171441 Mon Sep 17 00:00:00 2001 From: mjm Date: Sun, 05 Jan 2003 11:17:05 +0000 Subject: just wrote them --- (limited to 'noncore') diff --git a/noncore/net/wellenreiter/libwellenreiter/docs/wl_conf.8 b/noncore/net/wellenreiter/libwellenreiter/docs/wl_conf.8 new file mode 100644 index 0000000..8d2fe27 --- a/dev/null +++ b/noncore/net/wellenreiter/libwellenreiter/docs/wl_conf.8 @@ -0,0 +1,17 @@ +wl_conf + +#include + +int wl_checkcfg(void); +int wl_cfgvalue(const char *token, char *out, int maxlen); + +wl_checkcfg checks whether the wellenreiter configfile exists. +wl_cfgvalue searches for the given token and copies maxlen +characters of its value to out. + +wl_ckeckcfg returns 1 if the file exists and is readable and +0 on error. + +wl_cfgvalue returns -1 on error, 0 if nothing was found and +1 on success. + -- cgit v0.9.0.2