Ruby  2.7.2p137(2020-10-01revision5445e0435260b449decf2ac16f9d09bae3cafe72)
Functions
strchr.c File Reference
#include "ruby/missing.h"

Go to the source code of this file.

Functions

size_t strlen (const char *)
 
charstrchr (const char *s, int c)
 
charstrrchr (const char *s, int c)
 

Function Documentation

◆ strchr()

char* strchr ( const char s,
int  c 
)

Definition at line 8 of file strchr.c.

References strlen().

◆ strlen()

size_t strlen ( const char )

◆ strrchr()

char* strrchr ( const char s,
int  c 
)

Definition at line 20 of file strchr.c.

References strlen().