X-Git-Url: https://git.distorted.org.uk/~mdw/mLib/blobdiff_plain/1135ca5456cba54c862f8cd9d568c9c3a2b7e905..ff76c38f2d94c82b234d67e717d855b52e5d6421:/man/str.3 diff --git a/man/str.3 b/man/str.3 index 4ac61d1..1484fb5 100644 --- a/man/str.3 +++ b/man/str.3 @@ -50,11 +50,11 @@ The function divides a string into whitespace-separated words. The arguments are as follows: .TP -.I p +.BI "char *" p The address of the string to split. The string is modified by having null terminators written after each word extracted. .TP -.I v +.BI "char *" v [] The address of an array of pointers to characters. This array will be filled in by .BR str_split : @@ -62,12 +62,12 @@ the first entry will point to the first word extracted from the string, and so on. If there aren't enough words in the string, the remaining array elements are filled with null pointers. .TP -.I c +.BI "size_t " c The maximum number of words to extract; also, the number of elements in the array .IR v . .TP -.I rest +.BI "char **" rest The address of a pointer in which to store the address of the remainder of the string. Leading whitespace is removed from the remainder before storing. If the remainder string is empty, a null pointer is stored