Skip to content

[FEATURE REQUEST] adjust unix_add_fd and friends to use BorrowedFd instead of RawFd #1682

@nagisa

Description

@nagisa

This represents the correct ownership non-transfer more clearly and allows users to avoid unsafe in their code when trying to use the file descriptor in any way.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions