|
PatchworkOS
|
#include <errno.h>#include <stdbool.h>#include <stdint.h>#include <stdio.h>#include <stdlib.h>#include <string.h>#include <sys/io.h>Go to the source code of this file.
Macros | |
| #define | BUFFER_SIZE 1024 |
Functions | |
| static uint64_t | read_fd (fd_t fd, const char *name, bool hexOutput) |
| int | main (int argc, char **argv) |
| int main | ( | int | argc, |
| char ** | argv | ||
| ) |
Definition at line 43 of file main.c.
References close(), ERR, errno, EXIT_FAILURE, EXIT_SUCCESS, open(), printf(), read_fd(), STDIN_FILENO, strcmp(), and strerror().