Tag: #memory-management
How can I read a file with
mmap in C? Use
mmap to map a file into memory, then read and write the memory directly. 2017-01-27What is
mmap in C? mmap is a system call in C that allows programs to manipulate underlying hardware resources, such as physical memory or files, using ordinary memory manipulation. 2017-01-26What is
realloc in C? realloc resizes an allocated memory block, copying contents if necessary. 2016-12-01All content copyright James Fisher.
Granola