runtime.system.posix.posix_

Undocumented in source.

Members

Aliases

blkcnt_t
alias blkcnt_t = long
Undocumented in source.
blksize_t
alias blksize_t = long
Undocumented in source.
dev_t
alias dev_t = uint
Undocumented in source.
gid_t
alias gid_t = uint
Undocumented in source.
ino_t
alias ino_t = ulong
Undocumented in source.
mode_t
alias mode_t = uint
Undocumented in source.
nlink_t
alias nlink_t = ulong
Undocumented in source.
off_t
alias off_t = long
Undocumented in source.
pid_t
alias pid_t = int
Undocumented in source.
ssize_t
alias ssize_t = long
Undocumented in source.
time_t
alias time_t = long
Undocumented in source.
uid_t
alias uid_t = uint
Undocumented in source.
umode_t
alias umode_t = ushort
Undocumented in source.

Enums

EPERM
anonymousenum EPERM
Undocumented in source.
F_OK
anonymousenum F_OK
Undocumented in source.
MAP_FILE
anonymousenum MAP_FILE
Undocumented in source.
O_RDONLY
anonymousenum O_RDONLY
Undocumented in source.
PROT_NONE
anonymousenum PROT_NONE
Undocumented in source.
SEEK_SET
anonymousenum SEEK_SET
Undocumented in source.

Functions

access
int access(char* filename, int mode)
Undocumented in source. Be warned that the author may not have intended to support it.
close
int close(uint fd)
Undocumented in source. Be warned that the author may not have intended to support it.
fstat
int fstat(int fd, stat* statbuf)
Undocumented in source. Be warned that the author may not have intended to support it.
lseek
off_t lseek(int fd, off_t offset, int whence)
Undocumented in source. Be warned that the author may not have intended to support it.
mmap
void* mmap(void* addr, ulong len, int prot, int flags, int fd, int off)
Undocumented in source. Be warned that the author may not have intended to support it.
munmap
int munmap(void* addr, ulong len)
Undocumented in source. Be warned that the author may not have intended to support it.
octal
ushort octal(int octal)
Undocumented in source. Be warned that the author may not have intended to support it.
open
int open(char* filename, int flags, umode_t mode)
Undocumented in source. Be warned that the author may not have intended to support it.
read
ssize_t read(int fd, void* buf, size_t count)
Undocumented in source. Be warned that the author may not have intended to support it.
rmdir
int rmdir(char* filename)
Undocumented in source. Be warned that the author may not have intended to support it.
unlink
int unlink(char* filename)
Undocumented in source. Be warned that the author may not have intended to support it.
write
ssize_t write(int fd, void* buf, size_t count)
Undocumented in source. Be warned that the author may not have intended to support it.

Manifest constants

MAP_FAILED
enum MAP_FAILED;
Undocumented in source.

Static variables

g_errno
int g_errno;
Undocumented in source.

Structs

stat
struct stat
Undocumented in source.
timespec
struct timespec
Undocumented in source.

Meta