diff options
Diffstat (limited to 'lib/read_ulongs.c')
| -rw-r--r-- | lib/read_ulongs.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/lib/read_ulongs.c b/lib/read_ulongs.c new file mode 100644 index 0000000..90720ff --- /dev/null +++ b/lib/read_ulongs.c @@ -0,0 +1,8 @@ +#include "../ninitfeatures.h" + +int read_ulongs(char *name, unsigned long *u, int len) /*EXTRACT_INCL*/ { + char *x = read_header(name); + int dummy; + if (x==0) return 0; + return scan_ulongs(x, u, len, scan_ulong, ':', &dummy); +} |
