OSDN Git Service

(split) Apply minor changes from v3.32 to v3.35 in the upstream.
[linuxjm/LDP_man-pages.git] / draft / 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 .\"O .SH NAME
39 .\"O bzero \- write zero-valued bytes
40 .SH Ì¾Á°
41 bzero \- ÃÍ 0 ¤Î¥Ð¥¤¥È¤ÇËä¤á¤ë
42 .\"O .SH SYNOPSIS
43 .SH ½ñ¼°
44 .nf
45 .B #include <strings.h>
46 .sp
47 .BI "void bzero(void *" s ", size_t " n );
48 .fi
49 .\"O .SH DESCRIPTION
50 .SH ÀâÌÀ
51 .\"O The
52 .\"O .BR bzero ()
53 .\"O function sets the first
54 .\"O .I n
55 .\"O bytes of the area starting at
56 .\"O .I s
57 .\"O to zero (bytes containing \(aq\\0\(aq).
58 .BR bzero ()
59 ´Ø¿ô¤Ï
60 ¥Ð¥¤¥ÈÎó
61 .I s
62 ¤«¤é»Ï¤Þ¤ëÎΰè¤ÎÀèƬ
63 .I n
64 ¥Ð¥¤¥È¤ò
65 ¿ôÃÍ¥¼¥í (Ãͤ¬ \(aq\\0\(aq ¤Î¥Ð¥¤¥È) ¤ÇËä¤á¤ë¡£
66 .\"O .SH "RETURN VALUE"
67 .SH ÊÖ¤êÃÍ
68 .\"O None.
69 ¤Ê¤·¡£
70 .\"O .SH "CONFORMING TO"
71 .SH ½àµò
72 4.3BSD.
73 .\"O This function is deprecated (marked as LEGACY in POSIX.1-2001): use
74 .\"O .BR memset (3)
75 .\"O in new programs.
76 ¤³¤Î´Ø¿ô¤ÏÇÑ»ßͽÄê¤Ç¤¢¤ë (POSIX.1-2001 ¤Ç¤Ï
77 ²áµî¤Î̾»Ä (LEGACY) ¤È¤µ¤ì¤Æ¤¤¤ë)¡£¿·¤·¤¤¥×¥í¥°¥é¥à¤Ç¤Ï
78 .BR memset (3)
79 ¤ò»ÈÍѤ¹¤Ù¤­¤Ç¤¢¤ë¡£
80 .\"O POSIX.1-2008 removes the specification of
81 .\"O .BR bzero ().
82 POSIX.1-2008 ¤Ç¤Ï
83 .BR bzero ()
84 ¤Î»ÅÍͤ¬ºï½ü¤µ¤ì¤Æ¤¤¤ë¡£
85 .\"O .SH "SEE ALSO"
86 .SH ´ØÏ¢¹àÌÜ
87 .BR memset (3),
88 .BR swab (3)