From 7d53bb309b8ed30a69642019df7a7c9c2b373d44 Mon Sep 17 00:00:00 2001 From: deraadt Date: Fri, 12 Jan 1996 20:00:43 +0000 Subject: [PATCH] from netbsd; Document hint file v.2 --- share/man/man5/link.5 | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) 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 -- 2.20.1