Skip to content

In the non-Linux version of sendfile(), why do you pass &file_length? #4

@marcomorain

Description

@marcomorain

In the non-Linux version of sendfile(), why do you pass &file_length? At least in the FreeBSD version, it just takes a regular size_t. And in that case, there'd be no need to check file_length again; just check the return value.

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