TIOCGPGRP copies an int out of the kernel
[unix-history] / usr / src / lib / libc / string / memmove.3
CommitLineData
79c939a0
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.\"
b8dfab23 9.\" @(#)memmove.3 5.2 (Berkeley) %G%
79c939a0
KB
10.\"
11.TH MEMMOVE 3 ""
12.UC 7
13.SH NAME
14memmove \- copy byte string
15.SH SYNOPSIS
16.nf
17.ft B
18#include <string.h>
19
20void *
21memmove(void *dst, const void *src, size_t len);
22.ft R
23.fi
24.SH DESCRIPTION
25.B Memmove
26copies
27.I len
28bytes from string
29.I src
30to string
31.I dst
32and returns the original value of
33.IR dst .
34The two strings may overlap;
35the copy is always done in a non-destructive manner.
36.SH SEE ALSO
b8dfab23 37bcopy(3), memccpy(3), memcpy(3), strcpy(3)
79c939a0
KB
38.SH STANDARDS
39.IR Memmove
40conforms to ANSI X3.159-1989 (``ANSI C'').