Ruby 3.0.5p211 (2022-11-24 revision ba5cf0f7c52d4d35cc6a173c89eda98ceffa2dcf)
|
#include "dln.h"
#include "internal.h"
#include <strings.h>
#include <stdio.h>
#include <sys/types.h>
#include <sys/stat.h>
Go to the source code of this file.
Macros | |
#define | dln_notimplement --->>> dln not implemented <<<--- |
#define | dln_memerror abort |
#define | dln_exit exit |
#define | free(x) xfree(x) |
#define | S_ISDIR(m) (((m) & S_IFMT) == S_IFDIR) |
#define | MAXPATHLEN 1024 |
#define | EXTERNAL_PREFIX "" |
#define | FUNCNAME_PREFIX EXTERNAL_PREFIX"Init_" |
#define | isdirsep(x) ((x) == '/') |
#define | init_funcname(buf, file) |
#define | translit_separator(str) (void)(str) |
Functions | |
char * | getenv () |
void * | dln_load (const char *file) |
void * dln_load | ( | const char * | file | ) |
Definition at line 1264 of file dln.c.
References ALLOCA_N, dln_load(), dln_memerror, dln_notimplement, error(), free, init_funcname, load(), memcpy, NULL, rb_fatal(), rb_w32_mbstr_to_wstr(), strerror(), strlen(), and translit_separator.
Referenced by dln_load().
char * getenv | ( | ) |