aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEd Maste <emaste@FreeBSD.org>2026-05-17 14:29:29 +0000
committerEd Maste <emaste@FreeBSD.org>2026-05-18 23:56:00 +0000
commit94b7a335683abcbcd76e8b67d37e21271d81590c (patch)
treea5b5883796c1d80f50b6b09e6fe935b1ed9e7722
parentcd6bf930eafe850dc631feeaf8332832601f4225 (diff)
nlist.3: Add discouraged use notice
It is a relic from a.out days and is poorly specified. Although ELF support was added to nlist, there are better ways to access ELF data. Reviewed by: kib Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D57078
-rw-r--r--lib/libc/gen/nlist.34
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/libc/gen/nlist.3 b/lib/libc/gen/nlist.3
index d6029153de5a..9e2aa0d7eb0f 100644
--- a/lib/libc/gen/nlist.3
+++ b/lib/libc/gen/nlist.3
@@ -40,6 +40,10 @@
.Sh DESCRIPTION
The
.Fn nlist
+function is provided for compatibility with legacy applications.
+Its use is discouraged.
+The
+.Fn nlist
function
retrieves name list entries from the
.Xr elf 5