Go to the source code of this file.
|
| #define | DECIMAL_SIZE_OF_BITS(n) (((n) * 3010 + 9998) / 9999) |
| |
| #define | scan_oct(s, l, e) ((int)ruby_scan_oct((s),(l),(e))) |
| |
| #define | scan_hex(s, l, e) ((int)ruby_scan_hex((s),(l),(e))) |
| |
| #define | strdup(s) ruby_strdup(s) |
| |
| #define | strtod(s, e) ruby_strtod((s),(e)) |
| |
|
| unsigned long | ruby_scan_oct (const char *, size_t, size_t *) |
| |
| unsigned long | ruby_scan_hex (const char *, size_t, size_t *) |
| |
| void | ruby_qsort (void *, const size_t, const size_t, int(*)(const void *, const void *, void *), void *) |
| |
| void | ruby_setenv (const char *, const char *) |
| |
| void | ruby_unsetenv (const char *) |
| |
| char * | ruby_strdup (const char *) |
| |
| char * | ruby_getcwd (void) |
| |
| double | ruby_strtod (const char *, char **) |
| |
| void | ruby_each_words (const char *, void(*)(const char *, int, void *), void *) |
| |
◆ DECIMAL_SIZE_OF_BITS
| #define DECIMAL_SIZE_OF_BITS |
( |
|
n | ) |
(((n) * 3010 + 9998) / 9999) |
◆ scan_hex
◆ scan_oct
◆ strdup
◆ strtod
◆ ruby_each_words()
| void ruby_each_words |
( |
const char * |
, |
|
|
void(*)(const char *, int, void *) |
, |
|
|
void * |
|
|
) |
| |
◆ ruby_getcwd()
| char* ruby_getcwd |
( |
void |
| ) |
|
Definition at line 539 of file util.c.
References buf, DATA_PTR, Data_Wrap_Struct, errno, free(), NULL, PATH_MAX, RB_GC_GUARD, rb_sys_fail(), rb_syserr_fail(), RUBY_DEFAULT_FREE, ruby_strdup(), size, xfree, xmalloc, and xrealloc.
Referenced by rb_dir_getwd_ospath().
◆ ruby_qsort()
| void ruby_qsort |
( |
void * |
, |
|
|
const |
size_t, |
|
|
const |
size_t, |
|
|
int(*)(const void *, const void *, void *) |
, |
|
|
void * |
|
|
) |
| |
◆ ruby_scan_hex()
| unsigned long ruby_scan_hex |
( |
const char * |
, |
|
|
size_t |
, |
|
|
size_t * |
|
|
) |
| |
◆ ruby_scan_oct()
| unsigned long ruby_scan_oct |
( |
const char * |
, |
|
|
size_t |
, |
|
|
size_t * |
|
|
) |
| |
◆ ruby_setenv()
Definition at line 4998 of file hash.c.
References ALLOCV_END, ALLOCV_N, buf, environ, fail, free(), GET_ENVIRON, L, len, malloc, name, NULL, PRIuSIZE, rb_sprintf(), rb_sys_fail_str(), snprintf, str, and strlen().
Referenced by ruby_unsetenv().
◆ ruby_strdup()
| char* ruby_strdup |
( |
const char * |
| ) |
|
◆ ruby_strtod()
| double ruby_strtod |
( |
const char * |
, |
|
|
char ** |
|
|
) |
| |
◆ ruby_unsetenv()
| void ruby_unsetenv |
( |
const char * |
| ) |
|