diff options
| author | Charles <sircharlesaze@gmail.com> | 2020-02-14 03:46:08 +0100 |
|---|---|---|
| committer | Charles <sircharlesaze@gmail.com> | 2020-02-14 03:46:08 +0100 |
| commit | 9af2885d872de9c60b11159efe0685738031096d (patch) | |
| tree | 813183555eae5d0a84f11d7be3178d07b3d5f9d9 /src/str/ft_strtoupper.c | |
| parent | adbcf69ed50ea3896d4bbe863ea5d214ae5a0299 (diff) | |
| download | libft-9af2885d872de9c60b11159efe0685738031096d.tar.gz libft-9af2885d872de9c60b11159efe0685738031096d.tar.bz2 libft-9af2885d872de9c60b11159efe0685738031096d.zip | |
Added documentation for all functions and refactored ft_strjoin_free -> ft_strjoinf
Diffstat (limited to 'src/str/ft_strtoupper.c')
| -rw-r--r-- | src/str/ft_strtoupper.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/str/ft_strtoupper.c b/src/str/ft_strtoupper.c index 07c19e5..4a751d3 100644 --- a/src/str/ft_strtoupper.c +++ b/src/str/ft_strtoupper.c @@ -6,14 +6,14 @@ /* By: cacharle <marvin@42.fr> +#+ +:+ +#+ */ /* +#+#+#+#+#+ +#+ */ /* Created: 2020/02/10 04:12:04 by cacharle #+# #+# */ -/* Updated: 2020/02/10 05:05:38 by cacharle ### ########.fr */ +/* Updated: 2020/02/14 02:49:35 by cacharle ### ########.fr */ /* */ /* ************************************************************************** */ #include "libft_str.h" #include "libft_ctype.h" -char *ft_strtolower(char *s) +char *ft_strtoupper(char *s) { int i; @@ -21,6 +21,6 @@ char *ft_strtolower(char *s) return (NULL); i = -1; while (s[i]) - s[i] = ft_tolower(s[i]); + s[i] = ft_toupper(s[i]); return (s); } |
