Copies bytes from one process to another. Don't forget that as in any string manipulating function, the buffer that shall receive the copy *MUST* be allocated with a size of <len>.
|from_pid ||The pid of the process we want to read from. |
|from_buf ||The pointer to the data we want to copy. |
|to_pid ||The pid of the process we want to write to. Generally, you'll want to put -1 to write to your own process. |
|to_buf ||The pointer to the zone we want to copy to. |
|len ||The number of bytes we want to copy.|
- The number of bytes copied, or -1 if a problem happened.