Sign in
nginx
/
nginx
/
563efd0b7e9a4ae82238f6bf34fc9c8886a93e6d
/
.
/
src
/
os
/
unix
/
ngx_dlopen.c
blob: a0efc69257e9a94de9afe36c377bc0a1f08c0b93 [
file
] [
log
] [
blame
]
/*
* Copyright (C) Maxim Dounin
* Copyright (C) Nginx, Inc.
*/
#include
<ngx_config.h>
#include
<ngx_core.h>
#if (NGX_HAVE_DLOPEN)
char
*
ngx_dlerror
(
void
)
{
char
*
err
;
err
=
(
char
*)
dlerror
();
if
(
err
==
NULL
)
{
return
""
;
}
return
err
;
}
#endif