OSDN Git Service

0644251f4e4f572282ea0bb7ddb5edb7b847e9ff
[linuxjm/LDP_man-pages.git] / release / man3 / bzero.3
1 .\" Copyright 1993 David Metcalfe (david@prism.demon.co.uk)
2 .\"
3 .\" Permission is granted to make and distribute verbatim copies of this
4 .\" manual provided the copyright notice and this permission notice are
5 .\" preserved on all copies.
6 .\"
7 .\" Permission is granted to copy and distribute modified versions of this
8 .\" manual under the conditions for verbatim copying, provided that the
9 .\" entire resulting derived work is distributed under the terms of a
10 .\" permission notice identical to this one.
11 .\"
12 .\" Since the Linux kernel and libraries are constantly changing, this
13 .\" manual page may be incorrect or out-of-date.  The author(s) assume no
14 .\" responsibility for errors or omissions, or for damages resulting from
15 .\" the use of the information contained herein.  The author(s) may not
16 .\" have taken the same level of care in the production of this manual,
17 .\" which is licensed free of charge, as they might when working
18 .\" professionally.
19 .\"
20 .\" Formatted or processed versions of this manual, if unaccompanied by
21 .\" the source, must acknowledge the copyright and authors of this work.
22 .\"
23 .\" References consulted:
24 .\"     Linux libc source code
25 .\"     Lewine's _POSIX Programmer's Guide_ (O'Reilly & Associates, 1991)
26 .\"     386BSD man pages
27 .\" Modified Sat Jul 24 21:28:17 1993 by Rik Faith <faith@cs.unc.edu>
28 .\" Modified Tue Oct 22 23:49:37 1996 by Eric S. Raymond <esr@thyrsus.com>
29 .\"
30 .\" Japanese Version Copyright (c) 1997 Ueyama Rui
31 .\"         all rights reserved.
32 .\" Translated Tue Feb 21 0:47:30 JST 1997
33 .\"         by Ueyama Rui <ueyama@campusnet.or.jp>
34 .\" Modified Wed 23 Aug 2000 by NAKANO Takeo <nakano@apm.seikei.ac.jp>
35 .\" Modified Thu 6 Mar 2003 by Akihiro MOTOKI <amotoki@dd.iij4u.or.jp>
36 .\"
37 .TH BZERO 3  2008-08-06 "Linux" "Linux Programmer's Manual"
38 .SH 名前
39 bzero \- 値 0 のバイトで埋める
40 .SH 書式
41 .nf
42 .B #include <strings.h>
43 .sp
44 .BI "void bzero(void *" s ", size_t " n );
45 .fi
46 .SH 説明
47 .BR bzero ()
48 関数は
49 バイト列
50 .I s
51 から始まる領域の先頭
52 .I n
53 バイトを
54 数値ゼロ (値が \(aq\\0\(aq のバイト) で埋める。
55 .SH 返り値
56 なし。
57 .SH 準拠
58 4.3BSD.
59 この関数は廃止予定である (POSIX.1-2001 では
60 過去の名残 (LEGACY) とされている)。新しいプログラムでは
61 .BR memset (3)
62 を使用すべきである。
63 POSIX.1-2008 では
64 .BR bzero ()
65 の仕様が削除されている。
66 .SH 関連項目
67 .BR memset (3),
68 .BR swab (3)