|
PatchworkOS
|
#include <errno.h>#include <stdbool.h>#include <stdio.h>#include <stdlib.h>#include <string.h>#include <sys/io.h>#include <time.h>Go to the source code of this file.
Functions | |
| static const char * | type_to_string (inode_type_t type) |
| static void | print_stat (const char *path) |
| int | main (int argc, char **argv) |
| int main | ( | int | argc, |
| char ** | argv | ||
| ) |
Definition at line 55 of file main.c.
References EXIT_SUCCESS, and print_stat().
|
static |
Definition at line 22 of file main.c.
References stat_t::accessTime, stat_t::blocks, buffer, stat_t::changeTime, stat_t::createTime, ERR, errno, stat_t::linkAmount, localtime_r(), MAX_PATH, stat_t::modifyTime, stat_t::name, stat_t::number, printf(), stat_t::size, stat(), strerror(), tm::tm_hour, tm::tm_mday, tm::tm_min, tm::tm_mon, tm::tm_year, stat_t::type, and type_to_string().
Referenced by main().
|
static |
Definition at line 9 of file main.c.
References INODE_DIR, and INODE_FILE.
Referenced by print_stat().