Crate aranya_libc

Crate aranya_libc 

Source
Expand description

A wrapper around parts of libc for Aranya Core.

§Operating System Support

  • Linux
  • MacOS
  • VxWorks 6.9

§Features

  • std: Enable std support.

Structs§

BorrowedFd
A borrowed file descriptor.
DirEntry
Information about an entry in a directory.
Errno
libc’s errno.
MissingNullByte
The input to Path is missing a null byte.
OwnedDir
An owned directory stream.
OwnedFd
An owned file descriptor.
Path
A borrowed file path.
PathBuf
An owned Path.

Constants§

LOCK_EX
LOCK_NB
O_CLOEXEC
O_CREAT
O_DIRECTORY
O_EXCL
O_RDONLY
O_RDWR
S_IRGRP
S_IRUSR
S_IWGRP
S_IWUSR

Traits§

AsAtRoot
The fd argument to openat(2), etc.
AsFd
Allows borrowing the file descriptor.

Functions§

dup
See dup(2).
fallocate
See fallocate(2).
fdopendir
See fdopendir(3p).
flock
See flock(2).
fsync
See fsync(2).
open
See open(2).
openat
See open(2).
pread
See read(2).
pwrite
See write(2).
readdir
See readdir(3p).
rewinddir
See rewinddir(3p).
unlinkat
See unlinkat(2).

Type Aliases§

mode_t