HomeFreeBSD

When system calls indicate an error they return -1, not some arbitrary

Description

When system calls indicate an error they return -1, not some arbitrary
value < 0. errno is only updated in this case.

Obtained from: OpenBSD
MFC after: 3 days

Details

Provenance
baptAuthored on
Parents
rS356724: asprintf returns -1, not an arbitrary value < 0. Also upon error the
Branches
Unknown
Tags
Unknown