Commit | Line | Data |
---|---|---|
f193d7d9 KB |
1 | .\" Copyright (c) 1990 The Regents of the University of California. |
2 | .\" All rights reserved. | |
3 | .\" | |
4 | .\" This code is derived from software contributed to Berkeley by | |
5 | .\" Chris Torek. | |
6 | .\" | |
7 | .\" %sccs.include.redist.man% | |
8 | .\" | |
9 | .\" @(#)bcopy.3 5.1 (Berkeley) %G% | |
10 | .\" | |
11 | .TH BCOPY 3 "" | |
12 | .UC 7 | |
13 | .SH NAME | |
14 | bcopy \- copy byte string | |
15 | .SH SYNOPSIS | |
16 | .nf | |
17 | .ft B | |
18 | #include <string.h> | |
19 | ||
20 | void | |
21 | bcopy(const char *src, char *dst, size_t len); | |
22 | .ft R | |
23 | .fi | |
24 | .SH DESCRIPTION | |
25 | .B Bcopy | |
26 | copies | |
27 | .I len | |
28 | bytes from string | |
29 | .I src | |
30 | to string | |
31 | .IR dst . | |
32 | The two strings may overlap. | |
33 | If | |
34 | .I len | |
35 | is zero, no bytes are copied. | |
36 | .SH SEE ALSO | |
37 | memccpy(3), memcpy(3), memmove(3), strcpy(3), strncpy(3) |