Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 01 Jul 2024 19:59:43 +0000
From:      bugzilla-noreply@freebsd.org
To:        doc@FreeBSD.org
Subject:   [Bug 280078] man 3 hexdump does not state -lutil
Message-ID:  <bug-280078-9@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D280078

            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=3D251821&action=
=3Dedit
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 th=
ough
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 LIBRA=
RY:

[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

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-280078-9>