← All docs

fdatasync() — internals

Compiler internals for fdatasync(): lowering path, type checks, and runtime helpers.

fdatasync() — internals

Where it lives

Lowering notes

  • Lowers fdatasync(stream) through the shared fd data-sync runtime helper.

Runtime helpers

The following runtime helpers are referenced:

  • __rt_fdatasync

Signature summary

function fdatasync(resource $stream): bool

What the type checker enforces

  • Arity: takes exactly 1 argument.

Eval interpreter (magician)

Cross-references