Skip to main content

Module platform

Module platform 

Source
Expand description

Platform abstractions and environment.

Re-exports§

pub use self::rlb::Line;
pub use self::rlb::RawLineBuffer;

Modules§

auxv_defs
logger
rlb
types
C data types for this platform.

Structs§

Allocator
CountingWriter
A wrapper that keeps track of the number of bytes written with the underlying writer T.
FileReader
An implementation of Read for a file descriptor.
FileWriter
An implementation of core::fmt::Write for a file descriptor.
StringWriter
An implementation of Write/core::fmt::Write for a byte array.
Sys
Redox syscall implementation of Pal.
UnsafeStringReader
An implementation of Read for a byte array, without buffer over-read protection.
UnsafeStringWriter
An implementation of Write/core::fmt::Write for a byte array, without buffer overflow protection.

Constants§

NEWALLOCATOR

Statics§

ERRNO
The global errno variable used internally in relibc.
OUR_ENVIRON
argv
The argv argument available to a program’s main function.
environ
inner_argv
program_invocation_name
program_invocation_short_name

Traits§

Pal
Platform abstraction layer, a platform-agnostic abstraction over syscalls.
PalEpoll
Platform abstraction for epoll functionality.
PalPtrace
Platform abstraction for ptrace functionality.
PalSignal
Platform abstraction of signal-related functionality.
PalSocket
Platform abstraction of socket functionality.
WriteByte

Functions§

alloc
alloc_align
alloc_usable_size
auxv_iter
environ_iter
free
get_auxv
get_auxv_raw
get_auxvs
init
init_inner
realloc

Type Aliases§

Dlmalloc