Ruby  3.1.0dev(2021-09-10revisionb76ad15ed0da636161de0243c547ee1e6fc95681)
Functions | Variables
strerror.c File Reference

(b76ad15ed0da636161de0243c547ee1e6fc95681)

#include "ruby/missing.h"
Include dependency graph for strerror.c:

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 snprintf, and sys_errlist.

Referenced by rb_maygvl_fd_fix_cloexec(), and rb_threadptr_root_fiber_setup().

Variable Documentation

◆ sys_errlist

char* sys_errlist[]

Referenced by strerror().

◆ sys_nerr

int sys_nerr

Referenced by rb_w32_strerror().