Question: How do i use mmap to map a text document to memory into a char array, and then print only x#of line in that array,
How do i use mmap to map a text document to memory into a char array, and then print only x#of line in that array, where x is a declared int. (i.e. until a is found)?
This is for C Programming Language.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
