Skip to content

Move err checks to the outside of unsafe blocks #16

@acikgozb

Description

@acikgozb

The error checks of all unsafe libc functions live inside their corresponding unsafe block. However, they are actually not unsafe.
Therefore, it might be a good idea to move them out of the unsafe blocks to minimize the usage of unsafe as much as possible.

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions