Under: # uname -apKU FreeBSD 7950X3D-ZFS 15.0-CURRENT FreeBSD 15.0-CURRENT #4 main-n275926-a54a240c1b57-dirty: Thu Mar 13 00:44:25 PDT 2025 root@7950X3D-ZFS:/usr/obj/BUILDs/main-ZNV4-nodbg-clang/usr/main-src/amd64.amd64/sys/GENERIC-NODBG amd64 amd64 1500034 1500034
Looking, I see: # man -K "libc, -l" | more /usr/share/man/man2/_Fork.2.gz: Standard C Library (libc, -lc) /usr/share/man/man2/__syscall.2.gz: Standard C Library (libc, -lc) /usr/share/man/man2/_exit.2.gz: Standard C Library (libc, -lc) /usr/share/man/man2/_umtx_op.2.gz: Standard C Library (libc, -lc) . . . But: # man -K "libsys, -l" | more # (So nothing references libsys in a similar way.) # readelf -drs /lib/libsys.so.7 | sort -k8,8 | grep "\<_*errno\>" 633: 000000000001d328 4 OBJECT GLOBAL DEFAULT 28 errno@FBSD_1.0 (2) # readelf -drs /lib/libc.so.7 | sort -k8,8 | grep "\<_*errno\>" # # man errno INTRO(2) FreeBSD System Calls Manual INTRO(2) NAME intro, errno – introduction to system calls and their error numbers LIBRARY Standard C Library (libc, -lc) SYNOPSIS #include <sys/syscall.h> #include <errno.h> . . . (So "libc, -lc" is still referenced for errno in the man page.) (errno is just used as an example above.) === Mark Millard marklmi at # man -K "libc, -l" | more