delorie.com/djgpp/doc/libc/libc_152.html   search  
libc.a reference

[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

dlclose

Syntax

 
#include <dlfcn.h>

int dlclose (void *handle);

Description

This function closes a dynamic module loaded with dlopen (see section dlopen). The memory is freed and all pointers into that image become invalid.

Return Value

Returns 0 on success, non-zero value on failure. More detailed error information can be obtained using dlerror (see section dlerror).

Portability

ANSI/ISO C No
POSIX 1003.1-2001; not 1003.2-1992


  webmaster     delorie software   privacy  
  Copyright © 2004     Updated Apr 2004