diff options
Diffstat (limited to 'src/lib/libc/string/memmove.3')
| -rw-r--r-- | src/lib/libc/string/memmove.3 | 36 |
1 files changed, 18 insertions, 18 deletions
diff --git a/src/lib/libc/string/memmove.3 b/src/lib/libc/string/memmove.3 index 24422e7971..ae8569a1c7 100644 --- a/src/lib/libc/string/memmove.3 +++ b/src/lib/libc/string/memmove.3 | |||
| @@ -1,3 +1,5 @@ | |||
| 1 | .\" $OpenBSD: memmove.3,v 1.8 2011/07/25 00:38:52 schwarze Exp $ | ||
| 2 | .\" | ||
| 1 | .\" Copyright (c) 1990, 1991 The Regents of the University of California. | 3 | .\" Copyright (c) 1990, 1991 The Regents of the University of California. |
| 2 | .\" All rights reserved. | 4 | .\" All rights reserved. |
| 3 | .\" | 5 | .\" |
| @@ -13,11 +15,7 @@ | |||
| 13 | .\" 2. Redistributions in binary form must reproduce the above copyright | 15 | .\" 2. Redistributions in binary form must reproduce the above copyright |
| 14 | .\" notice, this list of conditions and the following disclaimer in the | 16 | .\" notice, this list of conditions and the following disclaimer in the |
| 15 | .\" documentation and/or other materials provided with the distribution. | 17 | .\" documentation and/or other materials provided with the distribution. |
| 16 | .\" 3. All advertising materials mentioning features or use of this software | 18 | .\" 3. Neither the name of the University nor the names of its contributors |
| 17 | .\" must display the following acknowledgement: | ||
| 18 | .\" This product includes software developed by the University of | ||
| 19 | .\" California, Berkeley and its contributors. | ||
| 20 | .\" 4. Neither the name of the University nor the names of its contributors | ||
| 21 | .\" may be used to endorse or promote products derived from this software | 19 | .\" may be used to endorse or promote products derived from this software |
| 22 | .\" without specific prior written permission. | 20 | .\" without specific prior written permission. |
| 23 | .\" | 21 | .\" |
| @@ -33,15 +31,12 @@ | |||
| 33 | .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF | 31 | .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF |
| 34 | .\" SUCH DAMAGE. | 32 | .\" SUCH DAMAGE. |
| 35 | .\" | 33 | .\" |
| 36 | .\" from: @(#)memmove.3 5.5 (Berkeley) 6/29/91 | 34 | .Dd $Mdocdate: July 25 2011 $ |
| 37 | .\" $Id: memmove.3,v 1.1.1.1 1995/10/18 08:42:21 deraadt Exp $ | ||
| 38 | .\" | ||
| 39 | .Dd June 29, 1991 | ||
| 40 | .Dt MEMMOVE 3 | 35 | .Dt MEMMOVE 3 |
| 41 | .Os | 36 | .Os |
| 42 | .Sh NAME | 37 | .Sh NAME |
| 43 | .Nm memmove | 38 | .Nm memmove |
| 44 | .Nd copy byte string | 39 | .Nd copy bytes |
| 45 | .Sh SYNOPSIS | 40 | .Sh SYNOPSIS |
| 46 | .Fd #include <string.h> | 41 | .Fd #include <string.h> |
| 47 | .Ft void * | 42 | .Ft void * |
| @@ -49,14 +44,13 @@ | |||
| 49 | .Sh DESCRIPTION | 44 | .Sh DESCRIPTION |
| 50 | The | 45 | The |
| 51 | .Fn memmove | 46 | .Fn memmove |
| 52 | function | 47 | function copies |
| 53 | copies | ||
| 54 | .Fa len | 48 | .Fa len |
| 55 | bytes from string | 49 | bytes from buffer |
| 56 | .Fa src | 50 | .Fa src |
| 57 | to string | 51 | to buffer |
| 58 | .Fa dst . | 52 | .Fa dst . |
| 59 | The two strings may overlap; | 53 | The two buffers may overlap; |
| 60 | the copy is always done in a non-destructive manner. | 54 | the copy is always done in a non-destructive manner. |
| 61 | .Sh RETURN VALUES | 55 | .Sh RETURN VALUES |
| 62 | The | 56 | The |
| @@ -67,10 +61,16 @@ function returns the original value of | |||
| 67 | .Xr bcopy 3 , | 61 | .Xr bcopy 3 , |
| 68 | .Xr memccpy 3 , | 62 | .Xr memccpy 3 , |
| 69 | .Xr memcpy 3 , | 63 | .Xr memcpy 3 , |
| 70 | .Xr strcpy 3 | 64 | .Xr strcpy 3 , |
| 65 | .Xr strlcpy 3 , | ||
| 66 | .Xr wmemmove 3 | ||
| 71 | .Sh STANDARDS | 67 | .Sh STANDARDS |
| 72 | The | 68 | The |
| 73 | .Fn memmove | 69 | .Fn memmove |
| 74 | function | 70 | function conforms to |
| 75 | conforms to | ||
| 76 | .St -ansiC . | 71 | .St -ansiC . |
| 72 | .Sh HISTORY | ||
| 73 | The | ||
| 74 | .Fn memmove | ||
| 75 | function first appeared in | ||
| 76 | .Bx 4.3 Reno . | ||
