From 7efd11ee0a75359626f6ca230fde36caa23cf83b Mon Sep 17 00:00:00 2001 From: Theo de Raadt Date: Fri, 12 Jan 1996 20:00:44 +0000 Subject: from netbsd; Document hint file v.2 --- share/man/man5/link.5 | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) (limited to 'share') diff --git a/share/man/man5/link.5 b/share/man/man5/link.5 index addfcaa39a8..e27fdc7a919 100644 --- a/share/man/man5/link.5 +++ b/share/man/man5/link.5 @@ -1,4 +1,4 @@ -.\" $NetBSD: link.5,v 1.4 1995/09/30 21:28:19 pk Exp $ +.\" $NetBSD: link.5,v 1.5 1996/01/09 00:14:32 pk Exp $ .\" .\" Copyright (c) 1993 Paul Kranenburg .\" All rights reserved. @@ -521,11 +521,13 @@ struct hints_header { #define HH_MAGIC 011421044151 long hh_version; #define LD_HINTS_VERSION_1 1 +#define LD_HINTS_VERSION_2 2 long hh_hashtab; long hh_nbucket; long hh_strtab; long hh_strtab_sz; long hh_ehints; + long hh_dirlist; }; .Ed .Bl -tag -width hh_strtab_sz @@ -541,6 +543,13 @@ Offset of string table. Size of strings. .It Fa hh_ehints Maximum usable offset in hints file. +.It Fa hh_dirlist +Offset in string table of a colon-separated list of directories that was +used in constructing the hints file. See also +.Xr ldconfig 8 . +This field is only available with interface version number +.Dv LD_HINTS_VERSION_2 +and higher. .El .Pp .Bd -literal -offset indent -- cgit v1.2.3