#include <syscall.h>
#include <stdio.h>
#include <string.h>
Go to the source code of this file.
Functions | |
static bool | list_dir (const char *dir, bool verbose) |
int | main (int argc, char *argv[]) |
static bool list_dir | ( | const char * | dir, | |
bool | verbose | |||
) | [static] |
Definition at line 17 of file ls.c.
References close(), filesize(), inumber(), isdir(), name, open(), printf(), readdir(), READDIR_MAX_LEN, and snprintf().
Referenced by main().
int main | ( | int argc | , | |
char * | argv[] | |||
) |
Definition at line 69 of file ls.c.
References EXIT_FAILURE, EXIT_SUCCESS, list_dir(), and strcmp().