mirror of
https://github.com/KeyZox71/ft_minipowershell.git
synced 2025-05-10 22:58:45 +02:00
「🏗️」 wip: Testing pipe check
This commit is contained in:
@ -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 \
|
||||
|
@ -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 */
|
||||
|
||||
|
16
libft/src/char/ft_isspace.c
Normal file
16
libft/src/char/ft_isspace.c
Normal 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);
|
||||
}
|
Reference in New Issue
Block a user