Standard library / std::runtime::io

std::runtime::io

Source: std/runtime/io.slk

This is the exact canonical documentation page for std::runtime::io.

Role#

std::runtime::io is an implementation-facing runtime module in the shipped std/** tree. It exists so higher-level stdlib surfaces can delegate platform or runtime-specific behavior without changing their public module names.

Canonical Context#

Use the following owning docs for the substantive API/design context for this module:

Notes#

  • set_cloexec(fd) preserves existing descriptor flags and sets FD_CLOEXEC through the POSIX runtime's fixed-signature integer fcntl wrapper. It returns None on success or the mapped I/O error on failure.

  • The shipped source for this module is std/runtime/io.slk.

  • The canonical module name is std::runtime::io.

  • This page is intentionally implementation-oriented. Downstream users should usually start with the higher-level std module docs listed above unless they are working on the runtime layer itself.

Source repository · Edit this page · View Markdown

Quick links

Type to search across the site. Use the up and down arrow keys to choose a result, Enter to open it, and Escape to close.