Annotated edit history of
uselib(2) version 2, including all changes.
View license author blame.
Rev |
Author |
# |
Line |
1 |
perry |
1 |
USELIB |
|
|
2 |
!!!USELIB |
|
|
3 |
NAME |
|
|
4 |
SYNOPSIS |
|
|
5 |
DESCRIPTION |
|
|
6 |
RETURN VALUE |
|
|
7 |
ERRORS |
|
|
8 |
CONFORMING TO |
|
|
9 |
SEE ALSO |
|
|
10 |
---- |
|
|
11 |
!!NAME |
|
|
12 |
|
|
|
13 |
|
|
|
14 |
uselib - select shared library |
|
|
15 |
!!SYNOPSIS |
|
|
16 |
|
|
|
17 |
|
|
|
18 |
__#include __ |
|
|
19 |
|
|
|
20 |
|
|
|
21 |
__int uselib(const char |
|
|
22 |
*__''library''__);__ |
|
|
23 |
!!DESCRIPTION |
|
|
24 |
|
|
|
25 |
|
|
|
26 |
__uselib__ selects the shared library binary that will be |
|
|
27 |
used by the calling process. |
|
|
28 |
!!RETURN VALUE |
|
|
29 |
|
|
|
30 |
|
|
|
31 |
On success, zero is returned. On error, -1 is returned, and |
|
|
32 |
''errno'' is set appropriately. |
|
|
33 |
!!ERRORS |
|
|
34 |
|
|
|
35 |
|
|
|
36 |
In addition to all of the error codes returned by |
|
|
37 |
open(2) and mmap(2), the following may also be |
|
|
38 |
returned: |
|
|
39 |
|
|
|
40 |
|
|
|
41 |
__ENOEXEC__ |
|
|
42 |
|
|
|
43 |
|
|
|
44 |
The file specified by ''library'' is not executable, or |
|
|
45 |
does not have the correct magic numbers. |
|
|
46 |
|
|
|
47 |
|
|
|
48 |
__EACCES__ |
|
|
49 |
|
|
|
50 |
|
|
|
51 |
The library specified by ''library'' is not |
|
|
52 |
readable. |
|
|
53 |
!!CONFORMING TO |
|
|
54 |
|
|
|
55 |
|
|
|
56 |
__uselib()__ is Linux specific, and should not be used in |
|
|
57 |
programs intended to be portable. |
|
|
58 |
!!SEE ALSO |
|
|
59 |
|
|
|
60 |
|
|
|
61 |
ar(1), gcc(1), ld(1), ldd(1), |
2 |
perry |
62 |
mmap(2), open(2), ld.so(8) |
1 |
perry |
63 |
---- |
This page is a man page (or other imported legacy content). We are unable to automatically determine the license status of this page.