diff --git a/README.md b/README.md index fcf2d7c..d5ff602 100644 --- a/README.md +++ b/README.md @@ -1,17 +1,17 @@ # libxconv Lightweight ISO-6937 to UTF-8 conversion library. -### SYNOPSIS +##### SYNOPSIS > size\_t xconv(char \*inbuf, char \*outbuf, size\_t outbuflen); -### DESCRIPTION +##### DESCRIPTION > The xconv() function converts a sequence of characters in ISO-6937 > encoding to UTF-8. > > If a UTF-8 sequence is found within the input string, processing is aborted. -### RETURN VALUE +##### RETURN VALUE > On successful conversion, the xconv() function returns the number of > characters placed into _outbuf_ excluding the string terminator. @@ -20,7 +20,7 @@ Lightweight ISO-6937 to UTF-8 conversion library. > was found) then the function returns 0. In this case, the state of the > output buffer is undefined and it should not be used. -### NOTES +##### NOTES > This library was written to replace iconv() for a specific conversion task > in a small embedded environment with little memory or CPU time available.