mirror of https://github.com/mkerrisk/man-pages
argz_add.3: ffix, actually revert of 5049da5b
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
parent
ef74d4ad5e
commit
ea01d88618
|
@ -85,9 +85,9 @@ delimiter \(aq:\(aq.
|
|||
.LP
|
||||
.BR argz_append ()
|
||||
appends the argz vector
|
||||
.RI ( buf ,\ buf_len )
|
||||
.RI ( buf ,\ buf_len )
|
||||
after
|
||||
.RI ( *argz ,\ *argz_len )
|
||||
.RI ( *argz ,\ *argz_len )
|
||||
and updates
|
||||
.IR *argz
|
||||
and
|
||||
|
@ -100,7 +100,7 @@ will be increased by
|
|||
.BR argz_count ()
|
||||
counts the number of strings, that is,
|
||||
the number of null bytes (\(aq\\0\(aq), in
|
||||
.RI ( argz ,\ argz_len ).
|
||||
.RI ( argz ,\ argz_len ).
|
||||
.LP
|
||||
.BR argz_create ()
|
||||
converts a UNIX-style argument vector
|
||||
|
@ -108,13 +108,13 @@ converts a UNIX-style argument vector
|
|||
terminated by
|
||||
.IR "(char\ *)\ 0" ,
|
||||
into an argz vector
|
||||
.RI ( *argz ,\ *argz_len ).
|
||||
.RI ( *argz ,\ *argz_len ).
|
||||
.LP
|
||||
.BR argz_create_sep ()
|
||||
converts the null-terminated string
|
||||
.I str
|
||||
into an argz vector
|
||||
.RI ( *argz ,\ *argz_len )
|
||||
.RI ( *argz ,\ *argz_len )
|
||||
by breaking it up at every occurrence of the separator
|
||||
.IR sep .
|
||||
.LP
|
||||
|
@ -122,7 +122,7 @@ by breaking it up at every occurrence of the separator
|
|||
removes the substring pointed to by
|
||||
.I entry
|
||||
from the argz vector
|
||||
.RI ( *argz ,\ *argz_len )
|
||||
.RI ( *argz ,\ *argz_len )
|
||||
and updates
|
||||
.I *argz
|
||||
and
|
||||
|
@ -132,7 +132,7 @@ and
|
|||
is the opposite of
|
||||
.BR argz_create ().
|
||||
It takes the argz vector
|
||||
.RI ( argz ,\ argz_len )
|
||||
.RI ( argz ,\ argz_len )
|
||||
and fills the array starting at
|
||||
.I argv
|
||||
with pointers to the substrings, and a final NULL,
|
||||
|
@ -151,7 +151,7 @@ It inserts the argument
|
|||
at position
|
||||
.I before
|
||||
into the argz vector
|
||||
.RI ( *argz ,\ *argz_len )
|
||||
.RI ( *argz ,\ *argz_len )
|
||||
and updates
|
||||
.I *argz
|
||||
and
|
||||
|
|
Loading…
Reference in New Issue