Sign in
nginx
/
nginx
/
6a30b1b397d42aad97b5329d817bbbf2a63bb740
/
.
/
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