PatchworkOS  3984a1d
A non-POSIX operating system.
Loading...
Searching...
No Matches
main.c File Reference
#include <errno.h>
#include <stdbool.h>
#include <stdint.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <sys/io.h>
Include dependency graph for main.c:

Go to the source code of this file.

Macros

#define __STDC_WANT_LIB_EXT1__   1
 

Functions

static uint64_t terminal_columns_get (void)
 
static int dirent_cmp (const void *a, const void *b)
 
static uint64_t print_dir (const char *path)
 
int main (int argc, char **argv)
 

Variables

static bool showAll = false
 
static bool showFlags = false
 

Macro Definition Documentation

◆ __STDC_WANT_LIB_EXT1__

#define __STDC_WANT_LIB_EXT1__   1

Definition at line 1 of file main.c.

Function Documentation

◆ terminal_columns_get()

static uint64_t terminal_columns_get ( void  )
static

Definition at line 13 of file main.c.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ dirent_cmp()

static int dirent_cmp ( const void a,
const void b 
)
static

Definition at line 41 of file main.c.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ print_dir()

static uint64_t print_dir ( const char path)
static

Definition at line 48 of file main.c.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ main()

int main ( int  argc,
char **  argv 
)

Definition at line 213 of file main.c.

Here is the call graph for this function:

Variable Documentation

◆ showAll

bool showAll = false
static

Definition at line 10 of file main.c.

◆ showFlags

bool showFlags = false
static

Definition at line 11 of file main.c.