Byteブロック領域の先頭N bytesを数値ゼロで埋める。
More...
Go to the source code of this file.
|
void | bzero (void *p, int len) |
| Byteブロック領域の先頭N bytesを数値ゼロで埋める。 More...
|
|
Byteブロック領域の先頭N bytesを数値ゼロで埋める。
Definition in file bzero.c.
◆ bzero()
void bzero |
( |
void * |
p, |
|
|
int |
len |
|
) |
| |
Byteブロック領域の先頭N bytesを数値ゼロで埋める。
- Parameters
-
[in,out] | p | Byteブロック(bzero()終了後にゼロで埋まった状態となる) |
[in] | len | 数値ゼロ埋めするサイズ(Byte) |
- Note
- 引数lenが0以下の場合は、何もせずreturnする。
Definition at line 12 of file bzero.c.
Referenced by newdev(), and newtype().
17 char *pch = (
char *)p;