Sign in
nginx
/
nginx
/
02c329f3d3bda2c415fd087138f5b902652bfb7b
/
.
/
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