I am trying to execute memcpy
char *pdata = data pointer; int64_t deviceId; memcpy(&deviceId, pdata+1, 8);
And he complains that "memcpy has not been declared in this area"
I have included below library in header file
<stdio.h> <stdlib.h> <unistd.h>
How to fix this problem. Thanks in advance.
codereviewanskquestions
source share