Types v0.1.0
FreeBSD's scalar types for process, file and user identifiers.
FileDescriptor
pub type FileDescriptor = int32
A file descriptor, as the kernel numbers one.
FileMode
pub type FileMode = uint16
A file's type and permission bits.
Sixteen bits here, where Linux's mode_t is thirty-two. The bit meanings agree; the width does not.
FileOffset
pub type FileOffset = int64
A byte offset within a file, 64 bits on every supported target.
GroupId
pub type GroupId = uint32
A group identifier.
ProcessId
pub type ProcessId = int32
A process identifier, as getpid and its relatives report one.
UserId
pub type UserId = uint32
A user identifier.