[Bug 280078] man 3 hexdump does not state -lutil

From: <bugzilla-noreply_at_freebsd.org>
Date: Mon, 01 Jul 2024 19:59:43 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=280078

            Bug ID: 280078
           Summary: man 3 hexdump does not state -lutil
           Product: Documentation
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Many People
          Priority: ---
         Component: Manual Pages
          Assignee: bugs@FreeBSD.org
          Reporter: dgilbert@eicat.ca
                CC: doc@FreeBSD.org

Created attachment 251821
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=251821&action=edit
patch to fix this.

The manpage for hexdump does not state that -lutil is the library.  Compare,
say, the man pages for 2 open or 3 abs --- they specify -lc or libc even though
that is standard.  In this case, it's more incidious because I required to
search the libraries with nm to find the appropriate library to include.

Now I also count 43 library man pages that do not contain the keyword LIBRARY:

[2:63:363]dgilbert@vr:~/FreeBSD/src/lib> find . -name \*.3 -o -name \*.2 |
xargs -n 1 grep -L LIBRARY
./libopenbsd/ohash_init.3
./libopenbsd/imsg_init.3
./libopenbsd/ohash_interval.3
./libtacplus/libtacplus.3
./libmp/libmp.3
./libexpat/libbsdxml.3
./libefivar/efivar.3
./msun/man/ieee.3
./msun/man/cpow.3
./libradius/libradius.3
./libc/db/man/dbm.3
./libc/db/man/hash.3
./libc/db/man/btree.3
./libc/db/man/dbopen.3
./libc/db/man/mpool.3
./libc/db/man/recno.3
./libc/gen/setproctitle.3
./libc/gen/dirname.3
./libc/gen/ftw.3
./libc/gen/basename.3
./libc/gen/readpassphrase.3
./libc/net/inet6_rthdr_space.3
./libc/net/if_indextoname.3
./libc/net/getifmaddrs.3
./libc/net/getifaddrs.3
./libc/net/sourcefilter.3
./libc/net/getnameinfo.3
./libc/net/inet6_option_space.3
./libc/net/gai_strerror.3
./libc/net/inet6_rth_space.3
./libc/net/rcmdsh.3
./libc/net/getaddrinfo.3
./libc/rpc/rpc_secure.3
./libc/string/timingsafe_bcmp.3
./libc/stdlib/strtonum.3
./libc/stdlib/tsearch.3
./libc/posix1e/mac_prepare.3
./libstdbuf/libstdbuf.3
./libpathconv/abs2rel.3
./libpathconv/rel2abs.3
./libipsec/ipsec_strerror.3
./libcompat/4.3
./libssp/__builtin_object_size.3
[2:64:364]dgilbert@vr:~/FreeBSD/src/lib> find . -name \*.3 -o -name \*.2 |
xargs -n 1 grep -L LIBRARY | wc
      43      43    1045

-- 
You are receiving this mail because:
You are on the CC list for the bug.