PKUOS - Pintos
Pintos source browser for PKU Operating System course
|
Go to the source code of this file.
Functions | |
int | main (int argc, char *argv[]) |
mcp.c More... | |
int main | ( | int argc | , |
char * | argv[] | ||
) |
Copies one file to another, using mmap.
Definition at line 10 of file mcp.c.
References create(), EXIT_FAILURE, EXIT_SUCCESS, filesize(), MAP_FAILED, memcpy(), mmap(), munmap(), open(), and printf().