1mlib_memcpy(3MLIB)        mediaLib Library Functions        mlib_memcpy(3MLIB)
2
3
4

NAME

6       mlib_memcpy - copy a block of bytes
7

SYNOPSIS

9       cc [ flag... ] file... -lmlib [ library... ]
10       #include <mlib.h>
11
12       void *mlib_memcpy(void *dst, const void *src, size_t n);
13
14

DESCRIPTION

16       The  mlib_memcpy() function copies n bytes from memory area src to dst.
17       It returns dst.  The memory areas may not overlap.  Use  mlib_memmove()
18       if the memory areas do overlap.
19
20
21       This function is a wrapper of the standard C function memcpy().
22

PARAMETERS

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

RETURN VALUES

36       The function returns a pointer to the destination.
37

ATTRIBUTES

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

SEE ALSO

53       mlib_memmove(3MLIB), mlib_memset(3MLIB), memory(3C), attributes(5)
54
55
56
57SunOS 5.11                        2 Mar 2007                mlib_memcpy(3MLIB)
Impressum