miniOS
x86_64 hobby kernel with SMP, VFS, and POSIX process model
Loading...
Searching...
No Matches
libc.h File Reference

Go to the source code of this file.

Typedefs

typedef unsigned long size_t
typedef long pid_t

Functions

ssize_t write (int fd, const void *buf, size_t count)
ssize_t read (int fd, void *buf, size_t count)
int open (const char *path)
int close (int fd)
void exit (int code) __attribute__((noreturn))
pid_t fork (void)
int exec (const char *path)
pid_t _libc_wait (int *status)
static pid_t wait (int *status)
pid_t waitpid (pid_t pid, int *status, int options)

Typedef Documentation

◆ pid_t

typedef long pid_t

◆ size_t

typedef unsigned long size_t

Function Documentation

◆ _libc_wait()

pid_t _libc_wait ( int * status)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ close()

int close ( int fd)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ exec()

int exec ( const char * path)
Here is the call graph for this function:

◆ exit()

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

◆ fork()

pid_t fork ( void )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ open()

int open ( const char * path)
Here is the caller graph for this function:

◆ read()

ssize_t read ( int fd,
void * buf,
size_t count )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ wait()

pid_t wait ( int * status)
inlinestatic
Here is the call graph for this function:

◆ waitpid()

pid_t waitpid ( pid_t pid,
int * status,
int options )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ write()

ssize_t write ( int fd,
const void * buf,
size_t count )
Here is the call graph for this function:
Here is the caller graph for this function: