Skip to content

Function return -1 vs -errno on error #155

Description

@xonatius

The comments on functions suggest that library returns -1 on error[1], but looking through code it seems to return -errno instead[2].

[1] https://github.com/axboe/liburing/blob/0f05173/src/setup.c#L152
[2] https://github.com/axboe/liburing/blob/0f05173/src/setup.c#L142

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions