Ruby 3.0.5p211 (2022-11-24 revision ba5cf0f7c52d4d35cc6a173c89eda98ceffa2dcf)
Functions
strchr.c File Reference
#include "ruby/missing.h"

Go to the source code of this file.

Functions

size_t strlen (const char *)
 
char * strchr (const char *s, int c)
 
char * strrchr (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().