42sh 1.0.0
Create a shell in C
Loading...
Searching...
No Matches
my_revstr.c File Reference

The file containing the my_revstr function. More...

#include "my.h"

Functions

char * my_revstr (char *str)
 Reverses the characters in a string (str) and returns the string (str)
 

Detailed Description

The file containing the my_revstr function.

Author
Nicolas TORO

Function Documentation

◆ my_revstr()

char * my_revstr ( char * str)

Reverses the characters in a string (str) and returns the string (str)

Parameters
strThe string to reverse
Returns
char* The reversed string
Author
Nicolas TORO