File tree 1 file changed +21
-0
lines changed
1 file changed +21
-0
lines changed Original file line number Diff line number Diff line change @@ -101,11 +101,32 @@ different sockets.
101
101
....
102
102
setenv("DD_TCP_KEEPALIVE_TIME", 180);
103
103
socket(...);
104
+ .SH INSTALLATION LOCATION
105
+ Depending on the installation method or the distribution, the
106
+ installation directory of
107
+ .B libdontdie
108
+ might differ.
109
+ .P
110
+ One way to get the installation directory is using the packet manager
111
+ to list all files of the packet (like 'dpkg -L <package_name>').
112
+ .P
113
+ Typically the library is installed in a directory under /usr/lib,
114
+ /usr/lib64, or /usr/lib/<triple>. A typical triple
115
+ is 'x86_64-linux-gnu'. Under Debian it is possible to get
116
+ the triple with the command
117
+ .sp
118
+ .RS
119
+ .nf
120
+ dpkg-architecture -qDEB_HOST_GNU_TYPE
104
121
.SH USAGE
105
122
All parameters are passed in as environment variables. The
106
123
.B libdontdie
107
124
itself is preloaded.
108
125
.P
126
+ The example assumes, that the library is installed
127
+ under '/usr/lib/libdontdie.so'. This might be replaced by the real
128
+ installation path.
129
+ .P
109
130
Example: to run the java program EchoClient with special TCP KEEP
110
131
ALIVE setting, use:
111
132
.sp
You can’t perform that action at this time.
0 commit comments