Skip to content

Add RWF_ATOMIC constant to os module #127921

Description

@rruuaanng

Feature or enhancement

Proposal:

This issue suggests adding new os constants.

fd = /* open a file */
buffers = [/* some bytes */]
os.pwritev(fd, buffers, 0, RWF_ATOMIC) # Either the write operation is successful, or nothing is written.

Has this already been discussed elsewhere?

No response given

Links to previous discussion of this feature:

No response

Linked PRs

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    extension-modulesC modules in the Modules dirtype-featureA feature request or enhancement

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions