diff options
author | Miles Bader <miles@gnu.org> | 1995-12-06 20:32:21 +0000 |
---|---|---|
committer | Miles Bader <miles@gnu.org> | 1995-12-06 20:32:21 +0000 |
commit | 3d77c9057d49a890b158a0c4fe6255738b02e6b5 (patch) | |
tree | fcd706553483229d7d8fed3ab04039a49a19b385 /libshouldbeinlibc/=argz.c | |
parent | 281953f69899aa158b3878c2385aa61f45194bfc (diff) | |
download | hurd-3d77c9057d49a890b158a0c4fe6255738b02e6b5.tar.gz hurd-3d77c9057d49a890b158a0c4fe6255738b02e6b5.tar.bz2 hurd-3d77c9057d49a890b158a0c4fe6255738b02e6b5.zip |
(argz_stringify): Add the SEP argument.
Diffstat (limited to 'libshouldbeinlibc/=argz.c')
-rw-r--r-- | libshouldbeinlibc/=argz.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libshouldbeinlibc/=argz.c b/libshouldbeinlibc/=argz.c index ee397160..90eb233d 100644 --- a/libshouldbeinlibc/=argz.c +++ b/libshouldbeinlibc/=argz.c @@ -92,9 +92,9 @@ 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. */ + except the last into the character SEP. */ void -argz_stringify(char *argz, int len) +argz_stringify(char *argz, int len, int sep) { while (len > 0) { @@ -102,6 +102,6 @@ argz_stringify(char *argz, int len) argz += part_len; len -= part_len + 1; if (len > 0) - *argz++ = ' '; + *argz++ = sep; } } |