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

Classes

struct  linux_dirent64

Macros

#define DT_DIR   4
#define DT_REG   8

Functions

static long getdents (int fd, void *buf, unsigned int count)
static void print_perms (uint8_t d_type)
int main (int argc, char **argv)

Macro Definition Documentation

◆ DT_DIR

#define DT_DIR   4

◆ DT_REG

#define DT_REG   8

Function Documentation

◆ getdents()

long getdents ( int fd,
void * buf,
unsigned int count )
static
Here is the caller graph for this function:

◆ main()

int main ( int argc,
char ** argv )
Here is the call graph for this function:

◆ print_perms()

void print_perms ( uint8_t d_type)
static
Here is the caller graph for this function: