bzeroのヘルプ・マニュアル
日本語 英語
bzero --help
man bzero
BZERO(3) Linux Programmer’s Manual BZERO(3)
名前
bzero - 値 0 のバイトで埋める
書式
#include
void bzero(void *s, size_t n);
説明
bzero() 関数はバイト列 s から始まるバイト領域の先頭 n バイトを数値ゼロ
(値が '\0' のバイト) で埋める。
返り値
なし。
準拠
4.3BSD. この関数は廃止予定である (POSIX.1-2001 では過去の名残 (LEGACY)
と さ れ て い る)。新しいプログラムでは memset(3) を使用すべきである。
POSIX.1-2008 では bzero() の仕様が削除されている。
関連項目
memset(3), swab(3)
Linux 2008-08-06 BZERO(3)
BZERO(3) Linux Programmer’s Manual BZERO(3)
NAME
bzero - write zero-valued bytes
SYNOPSIS
#include
void bzero(void *s, size_t n);
DESCRIPTION
The bzero() function sets the first n bytes of the byte area starting
at s to zero (bytes containing '\0').
RETURN VALUE
None.
CONFORMING TO
4.3BSD. This function is deprecated (marked as LEGACY in
POSIX.1-2001): use memset(3) in new programs. POSIX.1-2008 removes the
specification of bzero().
SEE ALSO
memset(3), swab(3)
COLOPHON
This page is part of release 3.22 of the Linux man-pages project. A
description of the project, and information about reporting bugs, can
be found at http://www.kernel.org/doc/man-pages/.
Linux 2008-08-06 BZERO(3)