OSDN Git Service

(split) LDP_man-pages: release ioctl.2 [JM:00378]
[linuxjm/LDP_man-pages.git] / draft / man3 / bstring.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 1993-04-12, David Metcalfe
28 .\" Modified 1993-07-24, Rik Faith (faith@cs.unc.edu)
29 .\" Modified 2002-01-20, Walter Harms
30 .\"
31 .\" Japanese Version Copyright (c) 1997 Ueyama Rui
32 .\"         all rights reserved.
33 .\" Translated Tue Feb 21 0:46:20 JST 1997
34 .\"         by Ueyama Rui <ueyama@campusnet.or.jp>
35 .\" Updated Wed Oct 15 JST 2003 by Kentaro Shirakata <argrath@ub32.org>
36 .\"
37 .TH BSTRING 3  2002-01-20 "" "Linux Programmer's Manual"
38 .SH Ì¾Á°
39 bcmp, bcopy, bzero, memccpy, memchr, memcmp, memcpy, memfrob, memmem,
40 memmove, memset \- ¥Ð¥¤¥ÈÎó¤ÎÁàºî¤ò¹Ô¤Ê¤¦
41 .SH ½ñ¼°
42 .nf
43 .B #include <string.h>
44 .sp
45 .BI "int bcmp(const void *" s1 ", const void *" s2 ", int " n );
46 .sp
47 .BI "void bcopy(const void *" src ", void *" dest ", int " n );
48 .sp
49 .BI "void bzero(void *" s ", int " n );
50 .sp
51 .BI "void *memccpy(void *" dest ", const void *" src ", int " c ", size_t " n );
52 .sp
53 .BI "void *memchr(const void *" s ", int " c ", size_t " n );
54 .sp
55 .BI "int memcmp(const void *" s1 ", const void *" s2 ", size_t " n );
56 .sp
57 .BI "void *memcpy(void *" dest ", const void *" src ", size_t " n );
58 .sp
59 .BI "void *memfrob(void *" s ", size_t " n );
60 .sp
61 .BI "void *memmem(const void *" needle ", size_t " needlelen ,
62 .BI "             const void *" haystack ", size_t " haystacklen );
63 .sp
64 .BI "void *memmove(void *" dest ", const void *" src ", size_t " n );
65 .sp
66 .BI "void *memset(void *" s ", int " c ", size_t " n );
67 .fi
68 .SH ÀâÌÀ
69 .\"O The byte string functions perform operations on strings (byte arrays)
70 .\"O that are not necessarily null-terminated.
71 .\"O See the individual man pages
72 .\"O for descriptions of each function.
73 ¤³¤ì¤é¤Î´Ø¿ô¤Ï NULL ½ªÃ¼¤¹¤ëɬÍפΤʤ¤Ê¸»úÎó (¥Ð¥¤¥ÈÇÛÎó) ¤ÎÁàºî¤ò¹Ô¤¦¡£
74 ´Ø¿ô¤Î¾Ü¤·¤¤ÀâÌÀ¤Ï¡¢¤½¤ì¤¾¤ì¤Î man ¥Ú¡¼¥¸¤ò»²¾È¤¹¤ë¤³¤È¡£
75 .\"O .SH NOTES
76 .SH Ãí°Õ
77 .\"O The functions
78 .\"O .BR bcmp (),
79 .\"O .BR bcopy ()
80 .\"O and
81 .\"O .BR bzero ()
82 .\"O are obsolete.
83 .\"O Use
84 .\"O .BR memcmp (),
85 .\"O .BR memcpy ()
86 .\"O and
87 .\"O .BR memset ()
88 .\"O instead.
89 .BR bcmp (),
90 .BR bcopy (),
91 .BR bzero ()
92 ´Ø¿ô¤Ï¸Å¤¤¤â¤Î¤Ç¤¢¤ë¡£Âå¤ï¤ê¤Ë
93 .BR memcmp (),
94 .BR memcpy ()
95 .BR memset ()
96 ¤ò»È¤¦¤³¤È¡£
97 .\"O .\" The old functions are not even available on some non-GNU/Linux systems.
98 .\" ¸Å¤¤´Ø¿ô¤Ï GNU/Linux °Ê³°¤Î¥·¥¹¥Æ¥à¤Ç¤ÏÍÑ°Õ¤µ¤ì¤Æ¤¤¤Ê¤¤¾ì¹ç¤¹¤é¤¢¤ë¡£
99 .SH ´ØÏ¢¹àÌÜ
100 .BR bcmp (3),
101 .BR bcopy (3),
102 .BR bzero (3),
103 .BR memccpy (3),
104 .BR memchr (3),
105 .BR memcmp (3),
106 .BR memcpy (3),
107 .BR memfrob (3),
108 .BR memmem (3),
109 .BR memmove (3),
110 .BR memset (3)