[][src]Module syscall::call

Function definitions

Functions

brk

Set the end of the process's heap

chdir

Change the process's working directory

chmodDeprecated
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

dup2

Copy and transform a file descriptor

exit

Exit the current process

fchmod

Change file permissions

fchown

Change file ownership

fcntl

Change file descriptor flags

fexec

Replace the current process with a new executable

fmap

Map a file into memory

fpath

Retrieve the canonical path of a file

frename

Rename a file

fstat

Get metadata about a file

fstatvfs

Get metadata about a filesystem

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

futimens
getcwd

Get the current working directory

getegid

Get the effective group ID

getens

Get the effective namespace

geteuid

Get the effective user ID

getgid

Get the current group ID

getns

Get the current namespace

getpgid

Get the process group ID

getpid

Get the current process ID

getppid

Get the parent 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

mkns

Make a new scheme namespace

mprotect

Change mapping flags

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

setpgid

Set the process group ID

setregid

Set the current process group IDs

setrens

Make a new scheme namespace

setreuid

Set the current process user IDs

sigaction

Set up a signal handler

sigprocmask

Get and/or set signal masks

sigreturn
umask

Set the file mode creation mask

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