PKUOS - Pintos
Pintos source browser for PKU Operating System course
|
#include <stdio.h>
#include <syscall.h>
Go to the source code of this file.
Functions | |
int | main (int argc, char *argv[]) |
cat.c More... | |
int main | ( | int argc | , |
char * | argv[] | ||
) |
Copies one file to another.
Definition at line 9 of file cp.c.
References buffer, create(), EXIT_FAILURE, EXIT_SUCCESS, filesize(), open(), printf(), read(), and write().