Zilog Z80380 Instrukcja Użytkownika Strona 75

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 116
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 74
UM004001-COR1103 4–11
Run Time Environment Library Functions
memcpy FUNCTION
Header file statement: #include <string.h>
Syntax: void *memcpy (void *dest, const void *src, size_t count)
The memcpy function copies count bytes of src to dest. If the source and destination overlap,
these functions do not ensure that the original source bytes in the overlapping region are cop
-
ied before being overwritten. Use memmove to handle overlapping regions.
Return Value
The memcpy function returns the value of dest.
memmove FUNCTION
Header file statement: #include <string.h>
Syntax: void *memmove (void *dest, const void *src, size_t count)
The memmove function copies count characters from the source (src) to the destination
(dest). If some regions of the source area and the destination overlap, the memmove function
ensures that the original source bytes in the overlapping region are copied before being over
-
written.
Return Value
The memmove function returns the value of dest.
Parameter Description
dest
New buffer
src Buffer to copy from
count Number of characters to copy
Parameter Description
dest
Destination object
src Source object
count Number of characters to copy
Przeglądanie stron 74
1 2 ... 70 71 72 73 74 75 76 77 78 79 80 ... 115 116

Komentarze do niniejszej Instrukcji

Brak uwag