HomeFreeBSD

Revert the mode_t -> int changes and add a warning in the BUGS section instead.

Description

Revert the mode_t -> int changes and add a warning in the BUGS section instead.

While FreeBSD's implementation of these expect an int inside of libc, that's an
implementation detail that we can hide from the user as it's the natural
promotion of the current mode_t type and before it is used in the kernel, it's
converted back to the narrower type that's the current definition of mode_t. As
such, documenting int is at best confusing and at worst misleading. Instead add
a note that these args are variadic and as such calling conventions may differ
from non-variadic arguments.

Details

Committed
impSep 28 2019, 5:15 PM
Parents
rS352845: Disable build of LOCAL_MODULES for cross-builds by default.
Branches
Unknown
Tags
Unknown