[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
lt_dlerror() returns NULL?
From: |
Wayne Stewart |
Subject: |
lt_dlerror() returns NULL? |
Date: |
Tue, 13 May 2003 09:30:04 -0700 (PDT) |
Hi,
It seems to me that either the documentation is wrong, or the function
is. I don't see any way that 'lt_dlerror()' can return NULL.
- Function: const char * lt_dlerror (void)
Return a human readable string describing the most recent error
that occurred from any of libltdl's functions. Return `NULL' if
no errors have occurred since initialization or since it was last
called.
const char *
lt_dlerror ()
{
const char *error;
LT_DLMUTEX_GETERROR (error);
LT_DLMUTEX_SETERROR (0);
return error ? error : LT_DLSTRERROR (UNKNOWN);
}
----
Wayne
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- lt_dlerror() returns NULL?,
Wayne Stewart <=