Age | Commit message (Collapse) | Author |
|
This function removes any whitespace found at the end of the supplied
string.
This can be useful when you have a string with whitespace throughout it,
but only want the whitespace at the end removed.
|
|
This works the same as `vformat_len()`, except that it copies `args`
into a temporary `va_list`.
This can be useful when you're already using a `va_list`, and thus need
to copy the list already.
|
|
This works exactly like `format_len()`, except that it uses `va_list`
rather than variadic arguments.
|
|
`is_dir()` checks if the supplied path is a directory, and returns 1 if
it's a directory, 0 if it isn't a directory, and -1 if it doesn't exist.
`mkdirp()` works like `mkdir()` except that it also creates parent
directories if needed.
|
|
`find_delm()` finds the first matched delimiter of the supplied
delimiter(s), and either returns the pointer to the first non-delimiter
character after the match, or the match itself if `skip_delm` is true,
or false respectivly.
`get_str_delm_range()` finds, and returns the string in between the
supplied starting, and ending delimiter(s). It also returns the pointer
to the first non-delimiter character after the end of the range in
`rhs`.
|
|
|
|
|
|
|
|
|
|
Forgot to add a semicolon to one of the externs.
|
|
|
|
`misc.c`.
|