_atouni.gml
来自「开放源码的编译器open watcom 1.6.0版的源代码」· GML 代码 · 共 33 行
GML
33 行
.func _atouni
#include <stdlib.h>
wchar_t *_atouni( wchar_t *wcs, const char *sbcs );
.funcend
.desc begin
The &func function converts the string pointed to by
.arg sbcs
to a wide-character string and places it in the buffer
pointed to by
.arg wcs.
.np
The conversion ends at the first null character.
.desc end
.return begin
The &func function returns the first argument as a result.
.return end
.see begin
.seelist &function. atoi atol itoa ltoa
.seelist &function. strtod strtol strtoul ultoa utoa
.see end
.exmp begin
#include <stdlib.h>
void main()
{
wchar_t wcs[12];
.exmp break
_atouni( wcs, "Hello world" );
}
.exmp end
.class WATCOM
.system
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?