Can we allocate memory to files (eg. .txt,.bmp,.jpg files) dynamically like calloc() ,malloc() does?? if yes how?? And will these allocated files can be accessed using normal C file pointers????
Do you mean somethinp like mmap(), which makes file data accessible via C-pointers (readable and writeable, if you say so) by putting them into your programs's address space. man mmap
what do you mean?
Do you mean somethinp like mmap(), which makes file data accessible via C-pointers (readable and writeable, if you say so) by putting them into your programs's address space.