bzero.gml
来自「开放源码的编译器open watcom 1.6.0版的源代码」· GML 代码 · 共 35 行
GML
35 行
.func bzero
#include <string.h>
void bzero( void *dst, size_t n );
.ixfunc2 '&String' &func
.funcend
.desc begin
The &func function fills the first
.arg n
bytes of the object pointed to by
.arg dst
with zero (null) bytes.
.np
Note that this function is similar to the ANSI
.kw memset
function (new code should use the ANSI function).
.desc end
.return begin
The &func function has no return value.
.return end
.see begin
.seelist &function. bcmp bcopy bzero memset strset
.see end
.exmp begin
#include <string.h>
void main()
{
char buffer[80];
.exmp break
bzero( buffer, 80 );
}
.exmp end
.class WATCOM
.system
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?