Bug 253820 - sysinfo(2) is missing on FreeBSD 12.2
Summary: sysinfo(2) is missing on FreeBSD 12.2
Status: Closed Works As Intended
Alias: None
Product: Base System
Classification: Unclassified
Component: misc (show other bugs)
Version: 12.2-STABLE
Hardware: Any Any
: --- Affects Only Me
Assignee: freebsd-bugs (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-02-24 18:02 UTC by Yuri Victorovich
Modified: 2021-02-24 18:07 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 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)
> 
> NAME
>        SYSINFO - GNU interface for gathering system information
> 
> SYNOPSIS
>        #include <sys/sysinfo.h>
> 
>        int sysinfo(struct sysinfo *info);
> 
> DESCRIPTION
>        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