]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
extattr_get_file(2): clarify RETURN VALUES
authorngie <ngie@FreeBSD.org>
Tue, 8 Dec 2020 04:16:05 +0000 (04:16 +0000)
committerngie <ngie@FreeBSD.org>
Tue, 8 Dec 2020 04:16:05 +0000 (04:16 +0000)
commit0b376cc3e1145d0b67e1766f091175bb4110c4f1
tree94f05e6aa067ec3c0e12479c4397c27cdcbbe0fa
parent541a97a438b12fd18e169c587805cf7117c13221
extattr_get_file(2): clarify RETURN VALUES

While some of the syscalls' behavior were documented and implied in the
RETURN VALUES section by earlier, e.g., the DESCRIPTION sections, as having
behavior of the other calls (`*_fd` vs `*_file` vs `*_link`), there was a lot
of implied return value behavior in the section prior to this change.

Explicitly document the syscall behavior per the current implementation in
sys/kern/vfs_extattr.c so others can better develop based on its explicit
documented behavior instead of having to digest the context of the manpage to
understand the appropriate behavior.

MFC after: 1 week
MFC with: r368431, r368433, r368434
Sponsored by: DellEMC Isilon
lib/libc/sys/extattr_get_file.2