32 if (!(fp = fdopen(fd,
"r"))){
36 if (!(bio = BIO_new_fp(fp, BIO_CLOSE))){
64 BIO_get_mem_ptr(bio, &
buf);
void rb_io_check_readable(rb_io_t *)
void rb_update_max_fd(int fd)
VALUE ossl_membio2str0(BIO *bio)
VALUE ossl_protect_membio2str(BIO *bio, int *status)
VALUE rb_protect(VALUE(*proc)(VALUE), VALUE data, int *state)
BIO * ossl_protect_obj2bio(VALUE obj, int *status)
VALUE ossl_membio2str(BIO *bio)
#define GetOpenFile(obj, fp)
BIO * ossl_obj2bio(VALUE obj)
unsigned char buf[MIME_BUF_SIZE]
void rb_sys_fail(const char *mesg)
void rb_jump_tag(int tag)
void ossl_raise(VALUE exc, const char *fmt,...)
int rb_cloexec_dup(int oldfd)
#define RSTRING_LENINT(str)
VALUE rb_str_new(const char *, long)