Sheaf · fuchsia · Fuchsia OS — fuchsia.io

Generated 2026-05-22 07:20 PDT · 212 elements · 248 findings

fuchsia.io/Directory.Link

METHOD fuchsia.io sdk/fidl/fuchsia.io/directory.fidl:519

Creates a link to an object named src by the name dst, within a directory represented by token. `src` must be a resolved object name. Including "/" in the string will return `ZX_ERR_INVALID_ARGS`. `dst` must be a resolved object name. Including "/" in the string will return `ZX_ERR_INVALID_ARGS`. This method requires following rights: `OpenFlags.RIGHT_WRITABLE` and `OpenFlags.RIGHT_READABLE`, otherwise returns `ZX_ERR_BAD_HANDLE`. This will be atomic with respect to renaming or unlinking the source concurrently e.g. if there are two actors operating concurrently, and one actor performs a rename that affects the source within this directory, and the other does a link, each will appear to occur atomically in an unspecified order.

Relationships

Documentation (1)

Tests (0)

No test references.

Examples (0)

No example references.

Gaps

Missing categories:

Findings (2)

← back to elements