|
libft
|
#include "libft.h"
Include dependency graph for ft_strrev.c:Go to the source code of this file.
Functions | |
| char * | ft_strrev (const char *s) |
| Reverses a string. More... | |
| char* ft_strrev | ( | const char * | s | ) |
Reverses a string.
Allocates (with malloc) and returns a “reversed” NULL-terminated string.
ft_strrev("0123456789") returns "9876543210" | s | String to be reversed. |
NULL if allocation failed. Definition at line 26 of file ft_strrev.c.
1.8.16