How to copy a ram_base file to disk efficiently

Posted by Hui Jin on Stack Overflow See other posts from Stack Overflow or by Hui Jin
Published on 2010-04-03T19:15:07Z Indexed on 2010/04/03 19:23 UTC
Read the original article Hit count: 164

Filed under:
|

I want to copy a large a ram-based file (located at /dev/shm direcotry) to local disk, is there some way for an efficient copy instead of read char one by one or create another piece memory? I can use only C language here. Is there anyway that I can put the memory file directly to disk? Thanks!

© Stack Overflow or respective owner

Related posts about c

    Related posts about linux