Merge "<iconv.h>: clarify the docs a bit more." am: 42e7ac10ed
am: 5e6c6e6e0f
Original change: https://android-review.googlesource.com/c/platform/bionic/+/2627204 Change-Id: Ie14a0c8ec245bacd7b31686fad05bbc0c26644be Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
commit
1174fd0360
1 changed files with 6 additions and 3 deletions
|
@ -50,6 +50,12 @@ typedef struct __iconv_t* iconv_t;
|
|||
* [iconv_open(3)](http://man7.org/linux/man-pages/man3/iconv_open.3.html) allocates a new converter
|
||||
* from `__src_encoding` to `__dst_encoding`.
|
||||
*
|
||||
* Android supports the `utf8`, `ascii`, `usascii`, `utf16be`, `utf16le`, `utf32be`, `utf32le`,
|
||||
* and `wchart` encodings for both source and destination.
|
||||
*
|
||||
* Android supports the GNU `//IGNORE` and `//TRANSLIT` extensions for the
|
||||
* destination encoding.
|
||||
*
|
||||
* Returns a new `iconv_t` on success and returns `((iconv_t) -1)` and sets `errno` on failure.
|
||||
*
|
||||
* Available since API level 28.
|
||||
|
@ -60,9 +66,6 @@ iconv_t _Nonnull iconv_open(const char* _Nonnull __dst_encoding, const char* _No
|
|||
* [iconv(3)](http://man7.org/linux/man-pages/man3/iconv.3.html) converts characters from one
|
||||
* encoding to another.
|
||||
*
|
||||
* Android supports the `utf8`, `ascii`, `usascii`, `utf16be`, `utf16le`, `utf32be`, `utf32le`,
|
||||
* and `wchart` encodings. Android also supports the GNU `//IGNORE` and `//TRANSLIT` extensions.
|
||||
*
|
||||
* Returns the number of characters converted on success and returns `((size_t) -1)` and
|
||||
* sets `errno` on failure.
|
||||
*
|
||||
|
|
Loading…
Reference in a new issue