previous | start | next

Execlp: Copies Executable Program into Memory?

Rather than copying a program into a process's address space, a better choice is to map the program file into the address space.

       void *mmap(void *start, size_t length, int prot, int flags,
                  int fd, off_t offset);
   


previous | start | next