Bug 274680 - cap_net(3) does not document return values
Summary: cap_net(3) does not document return values
Status: New
Alias: None
Product: Base System
Classification: Unclassified
Component: bin (show other bugs)
Version: 14.0-STABLE
Hardware: Any Any
: --- Affects Only Me
Assignee: freebsd-bugs (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-10-23 17:37 UTC by Ed Maste
Modified: 2023-10-23 17:37 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ed Maste freebsd_committer freebsd_triage 2023-10-23 17:37:36 UTC
I was looking for cap_net_limit's return value

>      int
>      cap_net_limit(cap_net_limit_t *limit);

but there is no overall documentation of return values. There are some examples in prose, e.g.

> The cap_net_limit_init() returns
> an opaque limit handle used to store a list of capabilities.