Module syscall::call [] [src]

Function definitions

Functions

brk

Set the end of the process's heap

chdir

Change the process's working directory

chmod
clock_gettime

Get the current system time

clone

Produce a fork of the current process, or a new process thread

close

Close a file

dup

Copy and transform a file descriptor

execve

Replace the current process with a new executable

exit

Exit the current process

fcntl

Register a file for event-based I/O

fevent

Register a file for event-based I/O

fmap

Map a file into memory

fpath

Retrieve the canonical path of a file

fstat

Get metadata about a file

fsync

Sync a file descriptor to its underlying medium

ftruncate

Truncate or extend a file to a specified length

funmap

Unmap a memory-mapped file

futex

Fast userspace mutex - TODO: Document

getcwd

Get the current working directory

getegid

Get the effective group ID

geteuid

Get the effective user ID

getgid

Get the current group ID

getpid

Get the current process ID

getuid

Get the current user ID

iopl

Set the I/O privilege level

kill

Send a signal sig to the process identified by pid

link

Create a link to a file

lseek

Seek to offset bytes in a file descriptor

mkdir

Make a directory, with permissions mode

nanosleep

Sleep for the time specified in req

open

Open a file

physalloc

Allocate pages, linearly in physical memory

physfree

Free physically allocated pages

physmap

Map physical memory to virtual memory

physunmap

Unmap previously mapped physical memory

pipe2

Create a pair of file descriptors referencing the read and write ends of a pipe

read

Read from a file descriptor into a buffer

rmdir

Remove a directory

sched_yield

Yield the process's time slice to the kernel

setgid

Set the current process group ID

setuid

Set the current process user ID

unlink

Remove a file

virttophys

Convert a virtual address to a physical one

waitpid

Check if a child process has exited or received a signal

write

Write a buffer to a file descriptor