#include "ruby.h"
#include "ruby/encoding.h"
#include "ruby/io.h"
#include <sys/types.h>
#include <errno.h>
#include "constdefs.h"
#include "ruby/atomic.h"
Go to the source code of this file.
◆ etc_confstr
◆ etc_nprocessors
◆ etc_sysconf
◆ etc_uname
◆ io_pathconf
◆ numberof
#define numberof |
( |
|
array | ) |
(sizeof(array) / sizeof(*(array))) |
◆ rb_deprecate_constant
#define rb_deprecate_constant |
( |
|
mod, |
|
|
|
name |
|
) |
| ((void)(mod),(void)(name)) |
Definition at line 60 of file etc.c.
◆ RUBY_ETC_VERSION
#define RUBY_ETC_VERSION "1.3.0" |
Definition at line 55 of file etc.c.
◆ getenv()
◆ getlogin()
◆ Init_etc()
Definition at line 1095 of file etc.c.
References etc_confstr, etc_nprocessors, etc_sysconf, etc_uname, io_pathconf, NULL, rb_cIO, rb_cStruct, rb_define_const(), rb_define_method, rb_define_module(), rb_define_module_function, rb_define_singleton_method, rb_deprecate_constant, RB_EXT_RACTOR_SAFE, rb_extend_object(), rb_mEnumerable, rb_str_new_cstr, rb_struct_define_under(), and RUBY_ETC_VERSION.