Bug 253820

Summary: sysinfo(2) is missing on FreeBSD 12.2
Product: Base System Reporter: Yuri Victorovich <yuri>
Component: miscAssignee: freebsd-bugs (Nobody) <bugs>
Status: Closed Works As Intended    
Severity: Affects Only Me    
Priority: ---    
Version: 12.2-STABLE   
Hardware: Any   
OS: Any   

Description Yuri Victorovich freebsd_committer 2021-02-24 18:02:05 UTC
sysinfo(3) says that sys/sysinfo.h should exist but it doesn't exist.

From manpage:
> SYSINFO(3)             FreeBSD Library Functions Manual             SYSINFO(3)
>        SYSINFO - GNU interface for gathering system information
>        #include <sys/sysinfo.h>
>        int sysinfo(struct sysinfo *info);
>        The sysinfo() function returns common information about the
>        configuration and state of the system:

> FreeBSD xx.xx.xx 12.2-STABLE FreeBSD 12.2-STABLE #0 r369260M: Fri Feb 12 21:13:14 PST 2021     unknown@xx.xx:/disk-samsung/sys/usr/src/amd64.amd64/sys/GENERIC  amd64
Comment 1 Yuri Victorovich freebsd_committer 2021-02-24 18:07:43 UTC
sysinfo(3) is installed by the port devel/libsysinfo