PKUOS - Pintos
Pintos source browser for PKU Operating System course
Functions
cmp.c File Reference
#include <stdio.h>
#include <syscall.h>
Include dependency graph for cmp.c:

Go to the source code of this file.

Functions

int main (int argc, char *argv[])
 cat.c More...
 

Function Documentation

◆ main()

int main ( int argc   ,
char *  argv[] 
)

cat.c

Compares two files.

Definition at line 9 of file cmp.c.

References buffer, EXIT_FAILURE, EXIT_SUCCESS, open(), printf(), read(), and tell().

Here is the call graph for this function: