Hi Alex,
On Thu, 29 Oct 2020 at 14:42, Alejandro Colomar wrote:
>
> getdents():
> This function has no glibc wrapper.
> As such, we should use the same types the Linux kernel uses:
> Use 'long' as the return type.
>
> getdents64():
> The glibc wrapper uses ssize_t for the return type,
> and
getdents():
This function has no glibc wrapper.
As such, we should use the same types the Linux kernel uses:
Use 'long' as the return type.
getdents64():
The glibc wrapper uses ssize_t for the return type,
and 'size_t' for the count argument.
Signed-off-by: Alejandro Colomar
---
2 matches
Mail list logo