From cd2643075673c7cb37b0413b942195ceb37b5983 Mon Sep 17 00:00:00 2001 From: Miles Bader Date: Thu, 18 May 1995 14:36:02 +0000 Subject: Declare argz_count and argz_extract. --- libshouldbeinlibc/=argz.h | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/libshouldbeinlibc/=argz.h b/libshouldbeinlibc/=argz.h index f518bb1e..c1f3c8fd 100644 --- a/libshouldbeinlibc/=argz.h +++ b/libshouldbeinlibc/=argz.h @@ -26,6 +26,13 @@ ENOMEM is returned, otherwise 0. The result can be destroyed using free. */ error_t argz_create(char **argv, char **argz, int *len); +/* Returns the number of strings in ARGZ. */ +int argz_count (char *argz, int len); + +/* Puts pointers to each string in ARGZ into ARGV, which must be large enough + to hold them all. */ +void argz_extract (char *argz, int len, char **argv); + /* Make '\0' separated arg vector ARGZ printable by converting all the '\0's except the last into spaces. */ void argz_stringify(char *argz, int len); -- cgit v1.2.3