aboutsummaryrefslogtreecommitdiff
path: root/usr.bin/ldd/ldd.1
diff options
context:
space:
mode:
authorPeter Wemm <peter@FreeBSD.org>1996-10-01 01:34:32 +0000
committerPeter Wemm <peter@FreeBSD.org>1996-10-01 01:34:32 +0000
commitd138df6140a3452c0625ce238565e1dae56f8bfd (patch)
treefc7a00d9b925e7198c15c76d25d8e6283f465ef3 /usr.bin/ldd/ldd.1
parent80c714994d33597ecd1fc67d636177339160460a (diff)
downloadsrc-d138df6140a3452c0625ce238565e1dae56f8bfd.tar.gz
src-d138df6140a3452c0625ce238565e1dae56f8bfd.zip
Support for specifying printf-like output specs to control the ldd output
as present in the new rtld version. Obtained from: NetBSD Reviewed by: nate, jdp
Notes
Notes: svn path=/head/; revision=18598
Diffstat (limited to 'usr.bin/ldd/ldd.1')
-rw-r--r--usr.bin/ldd/ldd.113
1 files changed, 12 insertions, 1 deletions
diff --git a/usr.bin/ldd/ldd.1 b/usr.bin/ldd/ldd.1
index 0c3b5e42d732..82534706710f 100644
--- a/usr.bin/ldd/ldd.1
+++ b/usr.bin/ldd/ldd.1
@@ -6,7 +6,8 @@
.Nd list dynamic object dependencies
.Sh SYNOPSIS
.Nm ldd
-.Op Ar filename Ar ...
+.Op Fl f Ar format
+.Ar program ...
.Sh DESCRIPTION
.Nm ldd
displays all shared objects that are needed to run the given program.
@@ -14,6 +15,16 @@ Contrary to nm(1), the list includes
.Dq indirect
depedencies that are the result of needed shared objects which themselves
depend on yet other shared objects.
+.Pp
+Zero, one or two
+.Fl f
+options may be given. The argument is a format string passed to
+.Xr rtld 1
+and allows customization of
+.Nm ldd Ns 's
+output. See
+.Xr rtld 1
+for a list of recognised conversion characters.
.Sh SEE ALSO
.Xr ld 1 ,
.Xr ld.so 1 ,