docs: documented 'string_find_next'

This commit is contained in:
antifallobst 2023-02-24 00:32:08 +01:00
parent 970d570765
commit 1e8dc6d1db
1 changed files with 3 additions and 0 deletions

View File

@ -950,6 +950,9 @@ Returns the amount of chars a string has before it's null-terminator.
Returns **true** when the strings **_a_** and **_b_** are equal. Returns **true** when the strings **_a_** and **_b_** are equal.
Returns **false** if they aren't equal. Returns **false** if they aren't equal.
#### `string_find_next(string, chr)` - function (uint32_t)
Returns the index of the next character that matches **_chr_** in **_string_**.
#### `variadic_format_size(string, args)` - function (uint64_t) #### `variadic_format_size(string, args)` - function (uint64_t)
Returns how long a format string with the given pattern (**_string_**) and **_args_** would be. Returns how long a format string with the given pattern (**_string_**) and **_args_** would be.
Useful to create a big enough buffer before formatting a string. Useful to create a big enough buffer before formatting a string.