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

Go to the source code of this file.

Functions

int main (int argc, char *argv[])
 hex-dump.c More...
 

Function Documentation

◆ main()

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

hex-dump.c

Prints files specified on command line to the console in hex.

Definition at line 9 of file hex-dump.c.

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

Here is the call graph for this function: