[DOC] Add return values of rb_enc_mbcput
This commit is contained in:
parent
6d742c9412
commit
591ee9d068
@ -646,6 +646,8 @@ rb_enc_code_to_mbclen(int c, rb_encoding *enc)
|
|||||||
* @param[in] c Code point.
|
* @param[in] c Code point.
|
||||||
* @param[out] buf Return buffer.
|
* @param[out] buf Return buffer.
|
||||||
* @param[in] enc Target encoding scheme.
|
* @param[in] enc Target encoding scheme.
|
||||||
|
* @retval <= 0 `c` is invalid in `enc`.
|
||||||
|
* @return otherwise Number of bytes written to `buf`.
|
||||||
* @post `c` is encoded according to `enc`, then written to `buf`.
|
* @post `c` is encoded according to `enc`, then written to `buf`.
|
||||||
*
|
*
|
||||||
* @internal
|
* @internal
|
||||||
|
Loading…
x
Reference in New Issue
Block a user