Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Yeah, use the heap: realloc() is your friend. Bit often times with io you just work in chunks, e.g. read up to X KB from a socket and then write it to file.


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: