diff options
Diffstat (limited to 'src/lib/libc/string/bcopy.3')
-rw-r--r-- | src/lib/libc/string/bcopy.3 | 25 |
1 files changed, 10 insertions, 15 deletions
diff --git a/src/lib/libc/string/bcopy.3 b/src/lib/libc/string/bcopy.3 index 6db3812caf..7b55bcbf43 100644 --- a/src/lib/libc/string/bcopy.3 +++ b/src/lib/libc/string/bcopy.3 | |||
@@ -12,11 +12,7 @@ | |||
12 | .\" 2. Redistributions in binary form must reproduce the above copyright | 12 | .\" 2. Redistributions in binary form must reproduce the above copyright |
13 | .\" notice, this list of conditions and the following disclaimer in the | 13 | .\" notice, this list of conditions and the following disclaimer in the |
14 | .\" documentation and/or other materials provided with the distribution. | 14 | .\" documentation and/or other materials provided with the distribution. |
15 | .\" 3. All advertising materials mentioning features or use of this software | 15 | .\" 3. Neither the name of the University nor the names of its contributors |
16 | .\" must display the following acknowledgement: | ||
17 | .\" This product includes software developed by the University of | ||
18 | .\" California, Berkeley and its contributors. | ||
19 | .\" 4. Neither the name of the University nor the names of its contributors | ||
20 | .\" may be used to endorse or promote products derived from this software | 16 | .\" may be used to endorse or promote products derived from this software |
21 | .\" without specific prior written permission. | 17 | .\" without specific prior written permission. |
22 | .\" | 18 | .\" |
@@ -32,15 +28,14 @@ | |||
32 | .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF | 28 | .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF |
33 | .\" SUCH DAMAGE. | 29 | .\" SUCH DAMAGE. |
34 | .\" | 30 | .\" |
35 | .\" from: @(#)bcopy.3 5.3 (Berkeley) 4/19/91 | 31 | .\" $OpenBSD: bcopy.3,v 1.8 2003/06/21 12:04:01 avsm Exp $ |
36 | .\" $Id: bcopy.3,v 1.1.1.1 1995/10/18 08:42:20 deraadt Exp $ | ||
37 | .\" | 32 | .\" |
38 | .Dd April 19, 1991 | 33 | .Dd April 19, 1991 |
39 | .Dt BCOPY 3 | 34 | .Dt BCOPY 3 |
40 | .Os BSD 4.2 | 35 | .Os |
41 | .Sh NAME | 36 | .Sh NAME |
42 | .Nm bcopy | 37 | .Nm bcopy |
43 | .Nd copy byte string | 38 | .Nd copy bytes |
44 | .Sh SYNOPSIS | 39 | .Sh SYNOPSIS |
45 | .Fd #include <string.h> | 40 | .Fd #include <string.h> |
46 | .Ft void | 41 | .Ft void |
@@ -48,14 +43,13 @@ | |||
48 | .Sh DESCRIPTION | 43 | .Sh DESCRIPTION |
49 | The | 44 | The |
50 | .Fn bcopy | 45 | .Fn bcopy |
51 | function | 46 | function copies |
52 | copies | ||
53 | .Fa len | 47 | .Fa len |
54 | bytes from string | 48 | bytes from buffer |
55 | .Fa src | 49 | .Fa src |
56 | to string | 50 | to buffer |
57 | .Fa dst . | 51 | .Fa dst . |
58 | The two strings may overlap. | 52 | The two buffers may overlap. |
59 | If | 53 | If |
60 | .Fa len | 54 | .Fa len |
61 | is zero, no bytes are copied. | 55 | is zero, no bytes are copied. |
@@ -64,9 +58,10 @@ is zero, no bytes are copied. | |||
64 | .Xr memcpy 3 , | 58 | .Xr memcpy 3 , |
65 | .Xr memmove 3 , | 59 | .Xr memmove 3 , |
66 | .Xr strcpy 3 , | 60 | .Xr strcpy 3 , |
61 | .Xr strlcpy 3 , | ||
67 | .Xr strncpy 3 | 62 | .Xr strncpy 3 |
68 | .Sh HISTORY | 63 | .Sh HISTORY |
69 | A | 64 | A |
70 | .Fn bcopy | 65 | .Fn bcopy |
71 | function appeared in | 66 | function appeared in |
72 | .Bx 4.2 . | 67 | .Bx 4.2 . |