Home
last modified time | relevance | path

Searched refs:lib (Results 1 – 11 of 11) sorted by relevance

/libuv/src/win/
H A Ddl.c32 lib->handle = NULL; in uv_dlopen()
33 lib->errmsg = NULL; in uv_dlopen()
52 if (lib->errmsg) { in uv_dlclose()
54 lib->errmsg = NULL; in uv_dlclose()
57 if (lib->handle) { in uv_dlclose()
60 lib->handle = NULL; in uv_dlclose()
73 return lib->errmsg ? lib->errmsg : "no error"; in uv_dlerror()
97 if (lib->errmsg) { in uv__dlerror()
99 lib->errmsg = NULL; in uv__dlerror()
120 msg = lib->errmsg; in uv__dlerror()
[all …]
/libuv/src/unix/
H A Ddl.c35 lib->errmsg = NULL; in uv_dlopen()
37 return lib->handle ? 0 : uv__dlerror(lib); in uv_dlopen()
41 void uv_dlclose(uv_lib_t* lib) { in uv_dlclose() argument
42 uv__free(lib->errmsg); in uv_dlclose()
43 lib->errmsg = NULL; in uv_dlclose()
45 if (lib->handle) { in uv_dlclose()
47 dlclose(lib->handle); in uv_dlclose()
48 lib->handle = NULL; in uv_dlclose()
61 return lib->errmsg ? lib->errmsg : "no error"; in uv_dlerror()
68 uv__free(lib->errmsg); in uv__dlerror()
[all …]
/libuv/test/
H A Dtest-dlerror.c31 uv_lib_t lib; in TEST_IMPL() local
34 lib.errmsg = NULL; in TEST_IMPL()
35 lib.handle = NULL; in TEST_IMPL()
36 msg = uv_dlerror(&lib); in TEST_IMPL()
40 r = uv_dlopen(path, &lib); in TEST_IMPL()
43 msg = uv_dlerror(&lib); in TEST_IMPL()
53 msg = uv_dlerror(&lib); in TEST_IMPL()
62 uv_dlclose(&lib); in TEST_IMPL()
/libuv/docs/code/plugin/
H A Dmain.c21 uv_lib_t *lib = (uv_lib_t*) malloc(sizeof(uv_lib_t)); in main() local
24 if (uv_dlopen(argv[argc], lib)) { in main()
25 fprintf(stderr, "Error: %s\n", uv_dlerror(lib)); in main()
30 if (uv_dlsym(lib, "initialize", (void **) &init_plugin)) { in main()
31 fprintf(stderr, "dlsym error: %s\n", uv_dlerror(lib)); in main()
/libuv/docs/src/
H A Ddll.rst28 .. c:function:: int uv_dlopen(const char* filename, uv_lib_t* lib)
33 .. c:function:: void uv_dlclose(uv_lib_t* lib)
37 .. c:function:: int uv_dlsym(uv_lib_t* lib, const char* name, void** ptr)
42 .. c:function:: const char* uv_dlerror(const uv_lib_t* lib)
/libuv/
H A D.gitignore21 /ar-lib
H A DCMakeLists.txt27 option(LIBUV_BUILD_SHARED "Build shared lib" ON)
382 PATH_SUFFIXES lib
492 set_target_properties(uv_a PROPERTIES PREFIX "lib")
750 foreach(lib IN LISTS uv_libraries)
751 list(APPEND LIBS "-l${lib}")
H A DLINKS.md96 * [fs](https://fs.r-lib.org/): Cross-platform file system operations
H A DChangeLog433 * build,win: we need to link against shell32.lib (Per Allansson)
1418 * build,win: link to user32.lib and advapi32.lib (George Zhao)
2629 * src,lib: fix comments (Tobias Nießen)
3863 * test,win: fix compilation with shared lib (Alexis Murzeau)
5920 * build: `all` now builds static and dynamic lib (Ben Noordhuis)
5959 * build: `all` now builds static and dynamic lib (Ben Noordhuis)
/libuv/docs/src/guide/
H A Dthreads.rst375 var lib = require('lib');
376 lib.on_progress(function() {
380 lib.do();
384 2. ``lib.do`` is supposed to be non-blocking but the third party lib is
/libuv/include/
H A Duv.h1820 UV_EXTERN int uv_dlopen(const char* filename, uv_lib_t* lib);
1821 UV_EXTERN void uv_dlclose(uv_lib_t* lib);
1822 UV_EXTERN int uv_dlsym(uv_lib_t* lib, const char* name, void** ptr);
1823 UV_EXTERN const char* uv_dlerror(const uv_lib_t* lib);

Completed in 30 milliseconds