Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Add RWF_ATOMIC constant to os module #127921

Closed as not planned
Closed as not planned
@rruuaanng

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

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