llib-ldl revision 20272c2e66d77f79ef35e7160584b5d098c3287f
880N/A/*
880N/A * CDDL HEADER START
880N/A *
880N/A * The contents of this file are subject to the terms of the
880N/A * Common Development and Distribution License (the "License").
880N/A * You may not use this file except in compliance with the License.
880N/A *
880N/A * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
880N/A * or http://www.opensolaris.org/os/licensing.
880N/A * See the License for the specific language governing permissions
880N/A * and limitations under the License.
880N/A *
880N/A * When distributing Covered Code, include this CDDL HEADER in each
880N/A * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
880N/A * If applicable, add the following below this CDDL HEADER, with the
880N/A * fields enclosed by brackets "[]" replaced with your own identifying
880N/A * information: Portions Copyright [yyyy] [name of copyright owner]
880N/A *
880N/A * CDDL HEADER END
880N/A */
880N/A/* LINTLIBRARY */
880N/A/* PROTOLIB1 */
880N/A
880N/A/*
880N/A * Copyright 2010 Sun Microsystems, Inc. All rights reserved.
3215N/A * Use is subject to license terms.
880N/A */
880N/A
880N/A#include <sys/types.h>
880N/A#include <link.h>
880N/A#include <dlfcn.h>
880N/A
880N/Avoid * dlopen(const char *, int);
880N/Avoid * dlsym(void *_RESTRICT_KYWD, const char *_RESTRICT_KYWD);
880N/Aint dlclose(void *);
880N/Achar * dlerror(void);
3827N/Avoid * dlmopen(Lmid_t, const char *, int);
880N/Aint dladdr(void *, Dl_info *);
880N/Aint dladdr1(void *, Dl_info *, void **, int);
880N/Aint dldump(const char *, const char *, int);
880N/Aint dlinfo(void *, int, void *);
880N/Avoid _ld_libc(void *);
880N/Aint dl_iterate_phdr(int (*)(struct dl_phdr_info *, size_t, void *), void *);
880N/A