# Module std::os::unix::prelude [−] [src]

A prelude for conveniently writing platform-specific code.

Includes all extension traits, and some important type definitions.

## Traits

AsRawFd | A trait to extract the raw unix file descriptor from an underlying object.
CommandExt | Unix-specific extensions to the `std::process::Command` builder
DirEntryExt | Unix-specific extension methods for `fs::DirEntry`
ExitStatusExt | Unix-specific extensions to `std::process::ExitStatus`
FileTypeExt | Add special unix types (block/char device, fifo and socket)
FromRawFd | A trait to express the ability to construct an object from a raw file descriptor.
IntoRawFd | A trait to express the ability to consume an object and acquire ownership of its raw file descriptor.
MetadataExt |
OpenOptionsExt | Unix-specific extensions to `OpenOptions`
OsStrExt | Unix-specific extensions to `OsStr`.
OsStringExt | Unix-specific extensions to `OsString`.
PermissionsExt | Unix-specific extensions to `Permissions`

## Type Definitions

RawFd | Raw file descriptors.

# Help

## Keyboard Shortcuts

?
  Show this help dialog
S
  Focus the search field
⇤
  Move up in search results
⇥
  Move down in search results
⏎
  Go to active search result

## Search Tricks

Prefix searches with a type followed by a colon (e.g. `fn:`) to restrict the search to a given type.

Accepted types are: `fn`, `mod`, `struct`, `enum`, `trait`, `type`, `macro`, and `const`.

Search functions by type signature (e.g. `vec -> usize`)