1mlib_memmove(3MLIB) mediaLib Library Functions mlib_memmove(3MLIB)
2
3
4
6 mlib_memmove - copy a block of bytes
7
9 cc [ flag... ] file... -lmlib [ library... ]
10 #include <mlib.h>
11
12 void *mlib_memmove(void *dst, const void *src, size_t n);
13
14
16 The mlib_memmove() function copies n bytes from memory area src to dst.
17 Copying between objects that overlap will take place correctly. It
18 returns dst.
19
20
21 This function is a wrapper of the standard C function memmove().
22
24 The function takes the following arguments:
25
26 dst Pointer to the destination.
27
28
29 src Pointer to the source.
30
31
32 n Number of bytes to be copied.
33
34
36 The function returns a pointer to the destination.
37
39 See attributes(5) for descriptions of the following attributes:
40
41
42
43
44 ┌─────────────────────────────┬─────────────────────────────┐
45 │ ATTRIBUTE TYPE │ ATTRIBUTE VALUE │
46 ├─────────────────────────────┼─────────────────────────────┤
47 │Interface Stability │Committed │
48 ├─────────────────────────────┼─────────────────────────────┤
49 │MT-Level │MT-Safe │
50 └─────────────────────────────┴─────────────────────────────┘
51
53 mlib_memcpy(3MLIB), mlib_memset(3MLIB), memory(3C), attributes(5)
54
55
56
57SunOS 5.11 2 Mar 2007 mlib_memmove(3MLIB)