.\" -*- coding: UTF-8 -*- .\" Copyright (c) 1992 Drew Eckhardt (drew@cs.colorado.edu), March 28, 1992 .\" .\" %%%LICENSE_START(VERBATIM) .\" Permission is granted to make and distribute verbatim copies of this .\" manual provided the copyright notice and this permission notice are .\" preserved on all copies. .\" .\" Permission is granted to copy and distribute modified versions of this .\" manual under the conditions for verbatim copying, provided that the .\" entire resulting derived work is distributed under the terms of a .\" permission notice identical to this one. .\" .\" Since the Linux kernel and libraries are constantly changing, this .\" manual page may be incorrect or out-of-date. The author(s) assume no .\" responsibility for errors or omissions, or for damages resulting from .\" the use of the information contained herein. The author(s) may not .\" have taken the same level of care in the production of this manual, .\" which is licensed free of charge, as they might when working .\" professionally. .\" .\" Formatted or processed versions of this manual, if unaccompanied by .\" the source, must acknowledge the copyright and authors of this work. .\" %%%LICENSE_END .\" .\" Modified by Michael Haardt .\" Modified 1993-07-24 by Rik Faith .\" Modified 1996-10-22 by Eric S. Raymond .\" Modified 2004-06-23 by Michael Kerrisk .\" Modified 2005-01-09 by aeb .\" .\"******************************************************************* .\" .\" This file was generated with po4a. Translate the source file. .\" .\"******************************************************************* .TH USELIB 2 "21 december 2020" Linux "Linux Programmeurs Handleiding" .SH NAAM uselib \- kies gedeelde bibliotheek .SH SAMENVATTING \fB#include \fP .PP \fBint uselib(const char *\fP\fIbibliotheek\fP\fB);\fP .PP \fILet op\fP: Er is geen declaratie van deze systeem aanroep voorzien in glibc kop bestanden; zie OPMERKINGEN. .SH BESCHRIJVING De systeem aanroep \fBuselib\fP() dient er om om de gedeelde bibliotheek nodig voor het aanroepende proces te laden. De aanroep krijgt een padnaam. Het adres waar deze te laden wordt bepaald door de bibliotheek zelf. De bibliotheek mag elk erkend binair formaat hebben. .SH "EIND WAARDE" Bij succes wordt nul teruggegeven. Bij falen wordt \-1 teruggegeven en wordt \fIerrno\fP overeenkomstig gezet. .SH FOUTEN In aanvulling op alle fout\-codes die worden teruggegeven door \fBopen\fP(2) en \fBmmap\fP(2) kan het volgende ook teruggegeven worden: .TP \fBEACCES\fP De bibliotheek opgegeven door \fIbibliotheek\fP heeft geen lees of uitvoer rechten, of de aanroeper heeft geen zoek rechten voor een van de mappen in het pad voorvoegsel. (Zie ook \fBpath_resolution\fP(7)). .TP \fBENFILE\fP De grens aan het aantal open bestanden van het systeem is bereikt. .TP \fBENOEXEC\fP Het bestand opgegeven door \fIbibliotheek\fP is geen uitvoerbaar bestand van bekend type; bij voorbeeld, het heeft geen correcte magische getallen. .SH "VOLDOET AAN" \fBuselib\fP() is Linux\-specifiek en zou niet gebruikt moeten worden in programma´s die overdraagbaar moeten zijn. .SH OPMERKINGEN Deze overbodige systeem aanroep wordt niet ondersteund door glibc. Er is geen declaratie voorzien in de glibc kop bestanden, maar, door een eigenaardigheid in de geschiedenis, glibc versies voor 2.23 exporteerden een ABI voor deze systeem aanroep. Daarom, om deze systeem aanroep te gebruiken, volstond het om het interface handmatig in uw code te declareren. alternatief kon u de systeem aanroep aanroepen met \fBsyscall\fP(2). .PP .\" .PP .\" .\" libc 4.3.1f - changelog 1993-03-02 .\" Since libc 4.3.2, startup code tries to prefix these names .\" with "/usr/lib", "/lib" and "" before giving up. .\" .\" libc 4.3.4 - changelog 1993-04-21 .\" In libc 4.3.4 and later these names are looked for in the directories .\" found in .\" .BR LD_LIBRARY_PATH , .\" and if not found there, .\" prefixes "/usr/lib", "/lib" and "/" are tried. .\" .PP .\" From libc 4.4.4 on only the library "/lib/ld.so" is loaded, .\" so that this dynamic library can load the remaining libraries needed .\" (again using this call). .\" This is also the state of affairs in libc5. .\" .PP .\" glibc2 does not use this call. In hele oude glibc versies (voor glibc 2.0), werd \fBuselib\fP(2) gebruikt om de gedeelde bibliotheken te laden waarvan de namen werden gevonden in een tabel van namen in het binaire bestand. .PP .\" commit 69369a7003735d0d8ef22097e27a55a8bad9557a Vanaf Linux 3.15 is deze systeem aanroep alleen beschikbaar indien de kernel werd geconfigureerd met de \fBCONFIG_USELIB\fP optie. .SH "ZIE OOK" \fBar\fP(1), \fBgcc\fP(1), \fBld\fP(1), \fBldd\fP(1), \fBmmap\fP(2), \fBopen\fP(2), \fBdlopen\fP(3), \fBcapabilities\fP(7), \fBld.so\fP(8) .SH COLOFON Deze pagina is onderdeel van release 5.10 van het Linux \fIman\-pages\fP\-project. Een beschrijving van het project, informatie over het melden van bugs en de nieuwste versie van deze pagina zijn op \%https://www.kernel.org/doc/man\-pages/ te vinden. .PP .SH VERTALING De Nederlandse vertaling van deze handleiding is geschreven door Jos Boersema , Mario Blättermann en Luc Castermans . .PP Deze vertaling is vrije documentatie; lees de .UR https://www.gnu.org/licenses/gpl-3.0.html GNU General Public License Version 3 .UE of later over de Copyright-voorwaarden. Er is geen AANSPRAKELIJKHEID. .PP Indien U fouten in de vertaling van deze handleiding zou vinden, stuur een e-mail naar .MT debian-l10n-dutch@lists.debian.org .ME .