🏗️」 wip: Testing pipe check

This commit is contained in:
2024-07-29 20:46:17 +02:00
parent c3aad1290d
commit 59c03e8e42
12 changed files with 369 additions and 10 deletions

View File

@ -6,7 +6,7 @@
# By: mmoussou <mmoussou@student.42angouleme.fr +#+ +:+ +#+ #
# +#+#+#+#+#+ +#+ #
# Created: 2024/01/22 07:21:18 by mmoussou #+# #+# #
# Updated: 2024/06/03 15:42:56 by mmoussou ### ########.fr #
# Updated: 2024/07/29 19:27:29 by adjoly ### ########.fr #
# #
# **************************************************************************** #
@ -71,6 +71,7 @@ SRCS = src/io/ft_putnbr_fd.c \
src/char/ft_isprint.c \
src/char/ft_isalpha.c \
src/char/ft_isascii.c \
src/char/ft_isspace.c \
\
src/stack/ft_stackadd_front.c \
src/stack/ft_stackadd_back.c \

View File

@ -6,7 +6,7 @@
/* By: mmoussou <mmoussou@student.42angouleme.fr +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2023/10/30 23:06:24 by mmoussou #+# #+# */
/* Updated: 2024/07/08 14:45:20 by mmoussou ### ########.fr */
/* Updated: 2024/07/29 19:23:16 by adjoly ### ########.fr */
/* */
/* ************************************************************************** */
@ -14,6 +14,7 @@
# define LIBFT_H
#include <sys/types.h> // for macos compilation
# include <limits.h>
# include <stdint.h>
# include <stdlib.h>
@ -34,6 +35,7 @@ int ft_isdigit(int c);
int ft_isalnum(int c);
int ft_isascii(int c);
int ft_isprint(int c);
int ft_isspace(int c);
/* MEMORY */

View File

@ -0,0 +1,16 @@
/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* ft_isspace.c :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: adjoly <adjoly@student.42angouleme.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2024/07/29 19:19:20 by adjoly #+# #+# */
/* Updated: 2024/07/29 19:20:57 by adjoly ### ########.fr */
/* */
/* ************************************************************************** */
int ft_isspace(int c)
{
return (c == 32 || c == 9);
}