Is there a command similar to fwrite where you can write n bytes not to a file but to memory? Basically, I'm working with a 4MB buffer and I want to do everything in memory and THEN write to the harddrive.
Printable View
Is there a command similar to fwrite where you can write n bytes not to a file but to memory? Basically, I'm working with a 4MB buffer and I want to do everything in memory and THEN write to the harddrive.
memmove()