]> pd.if.org Git - zpackage/blob - doc/zpm-soname.8
remove stray debug fprintf
[zpackage] / doc / zpm-soname.8
1 .TH zpm-soname 8 2019-02-14 "ZPM 0.4"
2 .SH NAME
3 zpm-soname \- list the soname of an elf library
4 .SH SYNOPSIS
5 .B zpm soname \fR[\fB-l\fR] \fIpath\fR
6 .SH DESCRIPTION
7 \fBzpm-soname\fR prints to stdout the soname, if any, of a given path.
8 .SH OPTIONS
9 .TP
10 \-l
11 Don't follow symlinks.  If the path is a symlink, this will cause the program
12 to exit with status 1.
13 .SH EXAMPLES
14 .PP
15 .nf
16 zpm-soname /lib/libc.so
17 .fi
18 .SH EXIT STATUS
19 .TP
20 0
21 if the file had an soname
22 .TP
23 1
24 file is not a regular file, or unable to stat, no file given, or other file
25 error
26 .TP
27 2
28 unable map file to read elf info
29 .TP
30 3
31 file is not an elf file
32 .TP
33 4
34 file is not an dynamic library file
35 .TP
36 5
37 unable to determine 64 or 32 bit elf file
38 .TP
39 6
40 unable to determine endianness
41 .TP
42 8
43 File has no string table
44 .TP
45 9
46 File has no dynamic section
47 .TP
48 10
49 File has no dynamic table
50 .TP
51 11
52 No soname found in dynamic table
53 .SH FILES
54 None
55 .SH ENVIRONMENT
56 None
57 .SH AUTHOR
58 Nathan Wagner
59 .SH SEE ALSO
60 zpm(8)