diff options
Diffstat (limited to 'utils')
-rw-r--r-- | utils/file.c | 4 | ||||
-rw-r--r-- | utils/file.h | 4 | ||||
-rw-r--r-- | utils/utf8.h | 7 |
3 files changed, 8 insertions, 7 deletions
diff --git a/utils/file.c b/utils/file.c index f4010b44c..83d29931a 100644 --- a/utils/file.c +++ b/utils/file.c @@ -45,7 +45,7 @@ * @param[in,out] size The size of the space available if \a str not * NULL on input and if not NULL set to the total * output length on output. - * @param[in] nemb The number of elements. + * @param[in] nelm The number of elements. * @param[in] ... The elements of the path as string pointers. * @return NSERROR_OK and the complete path is written to str * or error code on faliure. @@ -100,7 +100,7 @@ static nserror posix_basename(const char *path, char **str, size_t *size) /** * Create a path from a nsurl using posix file handling. * - * @parm[in] url The url to encode. + * @param[in] url The url to encode. * @param[out] path_out A string containing the result path which should * be freed by the caller. * @return NSERROR_OK and the path is written to \a path or error code diff --git a/utils/file.h b/utils/file.h index dbbab300e..5ee13b5aa 100644 --- a/utils/file.h +++ b/utils/file.h @@ -133,7 +133,7 @@ struct gui_file_table *default_file_table; * @param[in,out] size The size of the space available if \a str not * NULL on input and if not NULL set to the total * output length on output. - * @param[in] nemb The number of elements. + * @param[in] nelm The number of elements. * @param[in] ... The elements of the path as string pointers. * @return NSERROR_OK and the complete path is written to str * or error code on faliure. @@ -143,7 +143,7 @@ nserror netsurf_mkpath(char **str, size_t *size, size_t nelm, ...); /** * Create a path from a nsurl. * - * @parm[in] url The url to encode. + * @param[in] url The url to encode. * @param[out] path_out A string containing the result path which must be * freed by the caller. * @return NSERROR_OK and the path is written to \a path_out or error code on diff --git a/utils/utf8.h b/utils/utf8.h index 7509dde52..134df75c9 100644 --- a/utils/utf8.h +++ b/utils/utf8.h @@ -34,9 +34,9 @@ * Encoding of UCS values outside the UTF-16 plane has been removed from * RFC3629. This function conforms to RFC2279, however. * - * \param s_in The sequence to process - * \param l Length of sequence - * \return UCS4 character + * \param[in] s The sequence to process + * \param[in] l Length of sequence + * \return UCS4 character */ uint32_t utf8_to_ucs4(const char *s, size_t l); @@ -128,6 +128,7 @@ nserror utf8_to_enc(const char *string, const char *encname, * \param encname The encoding name (suitable for passing to iconv) * \param len Length of input string to consider (in bytes), or 0 * \param result Pointer to location to store result (allocated on heap) + * \param result_len The length of the data placed in result. * \return standard nserror value */ nserror utf8_from_enc(const char *string, const char *encname, |