mirror of
https://github.com/encounter/SDL.git
synced 2025-12-17 00:47:15 +00:00
os2: update include paths. add missing libc includes to geniconv.
This commit is contained in:
@@ -37,16 +37,16 @@ int libiconv_close(iconv_t cd);
|
||||
// System codepage <-> UTF-8.
|
||||
|
||||
// StrUTF8()
|
||||
// Coverts string from system cp. to UTF-8 (fToUTF8 is not 0) or from UTF-8 to
|
||||
// the system cp. (fToUTF8 is 0). Converted ASCIIZ string will be placed at the
|
||||
// Coverts string from system cp to UTF-8 (fToUTF8 is not 0) or from UTF-8 to
|
||||
// the system cp (fToUTF8 is 0). Converted ASCIIZ string will be placed at the
|
||||
// buffer pcDst, up to cbDst - 1 (for sys->utf8) or 2 (for utf8->sys) bytes.
|
||||
// Returns the number of bytes written into pcDst, not counting the terminating
|
||||
// 0 byte(s) or -1 on error.
|
||||
int StrUTF8(int fToUTF8, char *pcDst, int cbDst, char *pcSrc, int cbSrc);
|
||||
|
||||
// StrUTF8New()
|
||||
// Coverts string from system cp. to UTF-8 (fToUTF8 is not 0) or from UTF-8 to
|
||||
// the system cp. (fToUTF8 is 0). Memory for the new string is obtained by
|
||||
// Coverts string from system cp to UTF-8 (fToUTF8 is not 0) or from UTF-8 to
|
||||
// the system cp (fToUTF8 is 0). Memory for the new string is obtained by
|
||||
// using libc malloc().
|
||||
// Returns converted string, terminating two bytes 0 is appended to the result.
|
||||
// Returns null on error.
|
||||
|
||||
Reference in New Issue
Block a user