argz_add.3: ffix, actually revert of 5049da5b

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
Simon Paillard 2013-07-18 21:33:19 +02:00 committed by Michael Kerrisk
parent ef74d4ad5e
commit ea01d88618
1 changed files with 8 additions and 8 deletions

View File

@ -85,9 +85,9 @@ delimiter \(aq:\(aq.
.LP .LP
.BR argz_append () .BR argz_append ()
appends the argz vector appends the argz vector
.RI ( buf ,\ buf_len ) .RI ( buf ,\ buf_len )
after after
.RI ( *argz ,\ *argz_len ) .RI ( *argz ,\ *argz_len )
and updates and updates
.IR *argz .IR *argz
and and
@ -100,7 +100,7 @@ will be increased by
.BR argz_count () .BR argz_count ()
counts the number of strings, that is, counts the number of strings, that is,
the number of null bytes (\(aq\\0\(aq), in the number of null bytes (\(aq\\0\(aq), in
.RI ( argz ,\ argz_len ). .RI ( argz ,\ argz_len ).
.LP .LP
.BR argz_create () .BR argz_create ()
converts a UNIX-style argument vector converts a UNIX-style argument vector
@ -108,13 +108,13 @@ converts a UNIX-style argument vector
terminated by terminated by
.IR "(char\ *)\ 0" , .IR "(char\ *)\ 0" ,
into an argz vector into an argz vector
.RI ( *argz ,\ *argz_len ). .RI ( *argz ,\ *argz_len ).
.LP .LP
.BR argz_create_sep () .BR argz_create_sep ()
converts the null-terminated string converts the null-terminated string
.I str .I str
into an argz vector into an argz vector
.RI ( *argz ,\ *argz_len ) .RI ( *argz ,\ *argz_len )
by breaking it up at every occurrence of the separator by breaking it up at every occurrence of the separator
.IR sep . .IR sep .
.LP .LP
@ -122,7 +122,7 @@ by breaking it up at every occurrence of the separator
removes the substring pointed to by removes the substring pointed to by
.I entry .I entry
from the argz vector from the argz vector
.RI ( *argz ,\ *argz_len ) .RI ( *argz ,\ *argz_len )
and updates and updates
.I *argz .I *argz
and and
@ -132,7 +132,7 @@ and
is the opposite of is the opposite of
.BR argz_create (). .BR argz_create ().
It takes the argz vector It takes the argz vector
.RI ( argz ,\ argz_len ) .RI ( argz ,\ argz_len )
and fills the array starting at and fills the array starting at
.I argv .I argv
with pointers to the substrings, and a final NULL, with pointers to the substrings, and a final NULL,
@ -151,7 +151,7 @@ It inserts the argument
at position at position
.I before .I before
into the argz vector into the argz vector
.RI ( *argz ,\ *argz_len ) .RI ( *argz ,\ *argz_len )
and updates and updates
.I *argz .I *argz
and and