miniOS
x86_64 hobby kernel with SMP, VFS, and POSIX process model
Loading...
Searching...
No Matches
main.c File Reference
#include <fcntl.h>
#include <unistd.h>
#include <sys/stat.h>
Include dependency graph for main.c:

Functions

static int mount (const char *source, const char *target, const char *fstype, unsigned long flags, const void *data)
static int umount (const char *target)
static void write_str (const char *s)
static void write_uint (unsigned long v)
static void write_oct (unsigned long v)
static void check (const char *label, int cond)
int main (void)

Variables

static int g_failures = 0

Function Documentation

◆ check()

void check ( const char * label,
int cond )
static
Here is the call graph for this function:
Here is the caller graph for this function:

◆ main()

int main ( void )
Here is the call graph for this function:

◆ mount()

int mount ( const char * source,
const char * target,
const char * fstype,
unsigned long flags,
const void * data )
static

◆ umount()

int umount ( const char * target)
static
Here is the caller graph for this function:

◆ write_oct()

void write_oct ( unsigned long v)
static
Here is the call graph for this function:
Here is the caller graph for this function:

◆ write_str()

void write_str ( const char * s)
static
Here is the call graph for this function:

◆ write_uint()

void write_uint ( unsigned long v)
static
Here is the call graph for this function:
Here is the caller graph for this function:

Variable Documentation

◆ g_failures

int g_failures = 0
static