querying the modules
can anyone please tell me watss the error in the following code
size_t *ret, bufsize;
void *buf = (void *)malloc(3000);
its giving me error: EFAULT
It would help a lot to know which language you're programming.
I'll assume C.
First and second lines of the code, you list pointers *ret and *buf.
Third line, you list the memory locations directly, instead of the pointers.
|All times are GMT -5. The time now is 08:02 PM.|