space after "while" keyword

This commit is contained in:
Timo Schmidt 2023-03-19 11:17:38 +01:00
parent e4e7d76fb6
commit e6dc426c58
4 changed files with 7 additions and 8 deletions

View File

@ -6,11 +6,10 @@
/* By: tischmid <marvin@42.fr> +#+ +:+ +#+ */ /* By: tischmid <marvin@42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */ /* +#+#+#+#+#+ +#+ */
/* Created: 2023/03/19 10:25:26 by tischmid #+# #+# */ /* Created: 2023/03/19 10:25:26 by tischmid #+# #+# */
/* Updated: 2023/03/19 10:30:45 by tischmid ### ########.fr */ /* Updated: 2023/03/19 10:33:04 by tischmid ### ########.fr */
/* */ /* */
/* ************************************************************************** */ /* ************************************************************************** */
char *ft_strncpy(char *dest, char *src, unsigned int n) char *ft_strncpy(char *dest, char *src, unsigned int n)
{ {
unsigned int i; unsigned int i;

View File

@ -6,7 +6,7 @@
/* By: tischmid <marvin@42.fr> +#+ +:+ +#+ */ /* By: tischmid <marvin@42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */ /* +#+#+#+#+#+ +#+ */
/* Created: 2023/03/19 11:03:56 by tischmid #+# #+# */ /* Created: 2023/03/19 11:03:56 by tischmid #+# #+# */
/* Updated: 2023/03/19 11:12:03 by tischmid ### ########.fr */ /* Updated: 2023/03/19 11:17:16 by tischmid ### ########.fr */
/* */ /* */
/* ************************************************************************** */ /* ************************************************************************** */
@ -15,7 +15,7 @@ int ft_str_is_lowercase(char *str)
int i; int i;
i = 0; i = 0;
while(str[i] >= 'a' && str[i] <= 'z') while (str[i] >= 'a' && str[i] <= 'z')
{ {
++i; ++i;
} }

View File

@ -6,7 +6,7 @@
/* By: tischmid <marvin@42.fr> +#+ +:+ +#+ */ /* By: tischmid <marvin@42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */ /* +#+#+#+#+#+ +#+ */
/* Created: 2023/03/19 11:03:56 by tischmid #+# #+# */ /* Created: 2023/03/19 11:03:56 by tischmid #+# #+# */
/* Updated: 2023/03/19 11:12:55 by tischmid ### ########.fr */ /* Updated: 2023/03/19 11:17:00 by tischmid ### ########.fr */
/* */ /* */
/* ************************************************************************** */ /* ************************************************************************** */
@ -15,7 +15,7 @@ int ft_str_is_uppercase(char *str)
int i; int i;
i = 0; i = 0;
while(str[i] >= 'A' && str[i] <= 'Z') while (str[i] >= 'A' && str[i] <= 'Z')
{ {
++i; ++i;
} }

View File

@ -6,7 +6,7 @@
/* By: tischmid <marvin@42.fr> +#+ +:+ +#+ */ /* By: tischmid <marvin@42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */ /* +#+#+#+#+#+ +#+ */
/* Created: 2023/03/19 11:03:56 by tischmid #+# #+# */ /* Created: 2023/03/19 11:03:56 by tischmid #+# #+# */
/* Updated: 2023/03/19 11:16:39 by tischmid ### ########.fr */ /* Updated: 2023/03/19 11:17:09 by tischmid ### ########.fr */
/* */ /* */
/* ************************************************************************** */ /* ************************************************************************** */
@ -15,7 +15,7 @@ int ft_str_is_printable(char *str)
int i; int i;
i = 0; i = 0;
while(str[i] >= 32 && str[i] <= 126) while (str[i] >= 32 && str[i] <= 126)
{ {
++i; ++i;
} }