Ruby: missing/strerror.c File Reference

Ruby 3.0.5p211 (2022-11-24 revision ba5cf0f7c52d4d35cc6a173c89eda98ceffa2dcf)

Functions | Variables
strerror.c File Reference
`#include "ruby/missing.h"`

Go to the source code of this file.

## Functions
char * | strerror (int error)

## Variables
int | sys_nerr
char * | sys_errlist []

## Function Documentation

## ◆ strerror()

char * strerror | ( | int | error | ) |

Definition at line 11 of file strerror.c.

References error(), snprintf, and sys_errlist.

Referenced by dln_load(), gunzip(), gzip_normalize(), rb_bug_errno(), rb_maygvl_fd_fix_cloexec(), rb_threadptr_root_fiber_setup(), and rb_w32_strerror().

## Variable Documentation

## ◆ sys_errlist

char* sys_errlist[]
| extern

Referenced by strerror().

## ◆ sys_nerr

int sys_nerr
| extern

Referenced by rb_w32_strerror().