You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
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.