diff options
author | Miles Bader <miles@gnu.org> | 1995-12-14 23:07:36 +0000 |
---|---|---|
committer | Miles Bader <miles@gnu.org> | 1995-12-14 23:07:36 +0000 |
commit | 9cfc7061df9d24ea992bc2e0a4b37672072487f8 (patch) | |
tree | 8a86cb40ef9e2cf38ab8cb76508447630568340c /libshouldbeinlibc/=argz.h | |
parent | c12ff89783ecec965ea01abc7fb097abdec25d6d (diff) |
(argz_append, argz_add, argz_remove): New functions.
Diffstat (limited to 'libshouldbeinlibc/=argz.h')
-rw-r--r-- | libshouldbeinlibc/=argz.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/libshouldbeinlibc/=argz.h b/libshouldbeinlibc/=argz.h index 915d905f..0bec7e7c 100644 --- a/libshouldbeinlibc/=argz.h +++ b/libshouldbeinlibc/=argz.h @@ -37,4 +37,15 @@ void argz_extract (char *argz, int len, char **argv); except the last into the character SEP. */ void argz_stringify(char *argz, int len, int sep); +/* Add BUF, of length BUF_LEN to the argz vector in ARGZ & ARGZ_LEN. */ +error_t +argz_append (char **argz, unsigned *argz_len, char *buf, unsigned buf_len); + +/* Add STR to the argz vector in ARGZ & ARGZ_LEN. This should be moved into + argz.c in libshouldbelibc. */ +error_t argz_add (char **argz, unsigned *argz_len, char *str); + +/* Remove ENTRY from ARGZ & ARGZ_LEN, if any. */ +void argz_remove (char **argz, unsigned *argz_len, char *entry); + #endif /* __ARGZ_H__ */ |