diff options
| author | Charles <sircharlesaze@gmail.com> | 2020-01-15 10:04:09 +0100 |
|---|---|---|
| committer | Charles <sircharlesaze@gmail.com> | 2020-01-15 10:04:09 +0100 |
| commit | 1e9b077e0d9f3c50d7d518bf6ea7f08e7f5ec590 (patch) | |
| tree | 21d906cd9f96c58af572ce3bb6784d1d8fca18d2 | |
| parent | 49ad59b0e773e92e93fb69ede889c781ca53e680 (diff) | |
| download | libft-1e9b077e0d9f3c50d7d518bf6ea7f08e7f5ec590.tar.gz libft-1e9b077e0d9f3c50d7d518bf6ea7f08e7f5ec590.tar.bz2 libft-1e9b077e0d9f3c50d7d518bf6ea7f08e7f5ec590.zip | |
splited src in category, more generic makefile
| -rw-r--r-- | Makefile | 135 | ||||
| -rw-r--r-- | include/libft.h | 6 | ||||
| -rw-r--r-- | src/ctype/ft_isalnum.c (renamed from src/ft_isalnum.c) | 0 | ||||
| -rw-r--r-- | src/ctype/ft_isalpha.c (renamed from src/ft_isalpha.c) | 0 | ||||
| -rw-r--r-- | src/ctype/ft_isascii.c (renamed from src/ft_isascii.c) | 0 | ||||
| -rw-r--r-- | src/ctype/ft_isdigit.c (renamed from src/ft_isdigit.c) | 0 | ||||
| -rw-r--r-- | src/ctype/ft_isprint.c (renamed from src/ft_isprint.c) | 0 | ||||
| -rw-r--r-- | src/ctype/ft_tolower.c (renamed from src/ft_tolower.c) | 0 | ||||
| -rw-r--r-- | src/ctype/ft_toupper.c (renamed from src/ft_toupper.c) | 0 | ||||
| -rw-r--r-- | src/io/ft_asprintf.c (renamed from src/ft_asprintf.c) | 0 | ||||
| -rw-r--r-- | src/io/ft_dprintf.c (renamed from src/ft_dprintf.c) | 0 | ||||
| -rw-r--r-- | src/io/ft_printf.c (renamed from src/ft_printf.c) | 0 | ||||
| -rw-r--r-- | src/io/ft_printf/convert.c (renamed from src/ft_printf/convert.c) | 0 | ||||
| -rw-r--r-- | src/io/ft_printf/convert_char.c (renamed from src/ft_printf/convert_char.c) | 0 | ||||
| -rw-r--r-- | src/io/ft_printf/convert_hex.c (renamed from src/ft_printf/convert_hex.c) | 0 | ||||
| -rw-r--r-- | src/io/ft_printf/convert_int.c (renamed from src/ft_printf/convert_int.c) | 0 | ||||
| -rw-r--r-- | src/io/ft_printf/convert_none.c (renamed from src/ft_printf/convert_none.c) | 0 | ||||
| -rw-r--r-- | src/io/ft_printf/convert_percent.c (renamed from src/ft_printf/convert_percent.c) | 0 | ||||
| -rw-r--r-- | src/io/ft_printf/convert_ptr.c (renamed from src/ft_printf/convert_ptr.c) | 0 | ||||
| -rw-r--r-- | src/io/ft_printf/convert_str.c (renamed from src/ft_printf/convert_str.c) | 0 | ||||
| -rw-r--r-- | src/io/ft_printf/convert_uint.c (renamed from src/ft_printf/convert_uint.c) | 0 | ||||
| -rw-r--r-- | src/io/ft_printf/convert_written.c (renamed from src/ft_printf/convert_written.c) | 0 | ||||
| -rw-r--r-- | src/io/ft_printf/extract.c (renamed from src/ft_printf/extract.c) | 0 | ||||
| -rw-r--r-- | src/io/ft_printf/ft_printf.c (renamed from src/ft_printf/ft_printf.c) | 0 | ||||
| -rw-r--r-- | src/io/ft_printf/ft_vasprintf.h (renamed from src/ft_printf/ft_vasprintf.h) | 0 | ||||
| -rw-r--r-- | src/io/ft_printf/length_modifier.c (renamed from src/ft_printf/length_modifier.c) | 0 | ||||
| -rw-r--r-- | src/io/ft_printf/list.c (renamed from src/ft_printf/list.c) | 0 | ||||
| -rw-r--r-- | src/io/ft_printf/parse.c (renamed from src/ft_printf/parse.c) | 0 | ||||
| -rw-r--r-- | src/io/ft_printf/utils.c (renamed from src/ft_printf/utils.c) | 0 | ||||
| -rw-r--r-- | src/io/ft_putchar.c (renamed from src/ft_putchar.c) | 0 | ||||
| -rw-r--r-- | src/io/ft_putchar_fd.c (renamed from src/ft_putchar_fd.c) | 0 | ||||
| -rw-r--r-- | src/io/ft_putendl.c (renamed from src/ft_putendl.c) | 0 | ||||
| -rw-r--r-- | src/io/ft_putendl_fd.c (renamed from src/ft_putendl_fd.c) | 0 | ||||
| -rw-r--r-- | src/io/ft_putnbr.c (renamed from src/ft_putnbr.c) | 0 | ||||
| -rw-r--r-- | src/io/ft_putnbr_fd.c (renamed from src/ft_putnbr_fd.c) | 0 | ||||
| -rw-r--r-- | src/io/ft_putstr.c (renamed from src/ft_putstr.c) | 0 | ||||
| -rw-r--r-- | src/io/ft_putstr_fd.c (renamed from src/ft_putstr_fd.c) | 0 | ||||
| -rw-r--r-- | src/io/ft_snprintf.c (renamed from src/ft_snprintf.c) | 0 | ||||
| -rw-r--r-- | src/io/ft_sprintf.c (renamed from src/ft_sprintf.c) | 0 | ||||
| -rw-r--r-- | src/io/ft_vasprintf.c (renamed from src/ft_vasprintf.c) | 0 | ||||
| -rw-r--r-- | src/io/ft_vdprintf.c (renamed from src/ft_vdprintf.c) | 0 | ||||
| -rw-r--r-- | src/io/ft_vprintf.c (renamed from src/ft_vprintf.c) | 0 | ||||
| -rw-r--r-- | src/io/ft_vsnprintf.c (renamed from src/ft_vsnprintf.c) | 0 | ||||
| -rw-r--r-- | src/io/ft_vsprintf.c (renamed from src/ft_vsprintf.c) | 0 | ||||
| -rw-r--r-- | src/io/get_next_line/get_next_line.c (renamed from src/get_next_line/get_next_line.c) | 0 | ||||
| -rw-r--r-- | src/lst/ft_lstadd_back.c (renamed from src/ft_lstadd_back_bonus.c) | 0 | ||||
| -rw-r--r-- | src/lst/ft_lstadd_front.c (renamed from src/ft_lstadd_front_bonus.c) | 0 | ||||
| -rw-r--r-- | src/lst/ft_lstclear.c (renamed from src/ft_lstclear_bonus.c) | 0 | ||||
| -rw-r--r-- | src/lst/ft_lstdelone.c (renamed from src/ft_lstdelone_bonus.c) | 0 | ||||
| -rw-r--r-- | src/lst/ft_lstiter.c (renamed from src/ft_lstiter_bonus.c) | 0 | ||||
| -rw-r--r-- | src/lst/ft_lstlast.c (renamed from src/ft_lstlast_bonus.c) | 0 | ||||
| -rw-r--r-- | src/lst/ft_lstmap.c (renamed from src/ft_lstmap_bonus.c) | 0 | ||||
| -rw-r--r-- | src/lst/ft_lstnew.c (renamed from src/ft_lstnew_bonus.c) | 0 | ||||
| -rw-r--r-- | src/lst/ft_lstpop_front.c (renamed from src/ft_lstpop_front_bonus.c) | 0 | ||||
| -rw-r--r-- | src/lst/ft_lstsize.c (renamed from src/ft_lstsize_bonus.c) | 0 | ||||
| -rw-r--r-- | src/mem/ft_bzero.c (renamed from src/ft_bzero.c) | 0 | ||||
| -rw-r--r-- | src/mem/ft_calloc.c (renamed from src/ft_calloc.c) | 0 | ||||
| -rw-r--r-- | src/mem/ft_memalloc.c (renamed from src/ft_memalloc.c) | 0 | ||||
| -rw-r--r-- | src/mem/ft_memccpy.c (renamed from src/ft_memccpy.c) | 0 | ||||
| -rw-r--r-- | src/mem/ft_memchr.c (renamed from src/ft_memchr.c) | 0 | ||||
| -rw-r--r-- | src/mem/ft_memcmp.c (renamed from src/ft_memcmp.c) | 0 | ||||
| -rw-r--r-- | src/mem/ft_memcpy.c (renamed from src/ft_memcpy.c) | 0 | ||||
| -rw-r--r-- | src/mem/ft_memdel.c (renamed from src/ft_memdel.c) | 0 | ||||
| -rw-r--r-- | src/mem/ft_memmove.c (renamed from src/ft_memmove.c) | 0 | ||||
| -rw-r--r-- | src/mem/ft_memset.c (renamed from src/ft_memset.c) | 0 | ||||
| -rw-r--r-- | src/str/ft_atoi.c (renamed from src/ft_atoi.c) | 2 | ||||
| -rw-r--r-- | src/str/ft_itoa.c (renamed from src/ft_itoa.c) | 0 | ||||
| -rw-r--r-- | src/str/ft_split.c (renamed from src/ft_split.c) | 0 | ||||
| -rw-r--r-- | src/str/ft_strcat.c (renamed from src/ft_strcat.c) | 0 | ||||
| -rw-r--r-- | src/str/ft_strchr.c (renamed from src/ft_strchr.c) | 0 | ||||
| -rw-r--r-- | src/str/ft_strclr.c (renamed from src/ft_strclr.c) | 0 | ||||
| -rw-r--r-- | src/str/ft_strcmp.c (renamed from src/ft_strcmp.c) | 0 | ||||
| -rw-r--r-- | src/str/ft_strcount.c (renamed from src/ft_strcount.c) | 0 | ||||
| -rw-r--r-- | src/str/ft_strcpy.c (renamed from src/ft_strcpy.c) | 0 | ||||
| -rw-r--r-- | src/str/ft_strdel.c (renamed from src/ft_strdel.c) | 0 | ||||
| -rw-r--r-- | src/str/ft_strdup.c (renamed from src/ft_strdup.c) | 0 | ||||
| -rw-r--r-- | src/str/ft_strequ.c (renamed from src/ft_strequ.c) | 0 | ||||
| -rw-r--r-- | src/str/ft_striter.c (renamed from src/ft_striter.c) | 0 | ||||
| -rw-r--r-- | src/str/ft_striteri.c (renamed from src/ft_striteri.c) | 0 | ||||
| -rw-r--r-- | src/str/ft_strjoin.c (renamed from src/ft_strjoin.c) | 0 | ||||
| -rw-r--r-- | src/str/ft_strjoin_free.c (renamed from src/ft_strjoin_free.c) | 0 | ||||
| -rw-r--r-- | src/str/ft_strjoin_free_snd.c (renamed from src/ft_strjoin_free_snd.c) | 0 | ||||
| -rw-r--r-- | src/str/ft_strlcat.c (renamed from src/ft_strlcat.c) | 0 | ||||
| -rw-r--r-- | src/str/ft_strlcpy.c (renamed from src/ft_strlcpy.c) | 0 | ||||
| -rw-r--r-- | src/str/ft_strlen.c (renamed from src/ft_strlen.c) | 0 | ||||
| -rw-r--r-- | src/str/ft_strmap.c (renamed from src/ft_strmap.c) | 0 | ||||
| -rw-r--r-- | src/str/ft_strmapi.c (renamed from src/ft_strmapi.c) | 0 | ||||
| -rw-r--r-- | src/str/ft_strncat.c (renamed from src/ft_strncat.c) | 0 | ||||
| -rw-r--r-- | src/str/ft_strncmp.c (renamed from src/ft_strncmp.c) | 0 | ||||
| -rw-r--r-- | src/str/ft_strncpy.c (renamed from src/ft_strncpy.c) | 0 | ||||
| -rw-r--r-- | src/str/ft_strndup.c (renamed from src/ft_strndup.c) | 0 | ||||
| -rw-r--r-- | src/str/ft_strnequ.c (renamed from src/ft_strnequ.c) | 0 | ||||
| -rw-r--r-- | src/str/ft_strnew.c (renamed from src/ft_strnew.c) | 0 | ||||
| -rw-r--r-- | src/str/ft_strnstr.c (renamed from src/ft_strnstr.c) | 0 | ||||
| -rw-r--r-- | src/str/ft_strrchr.c (renamed from src/ft_strrchr.c) | 0 | ||||
| -rw-r--r-- | src/str/ft_strstr.c (renamed from src/ft_strstr.c) | 0 | ||||
| -rw-r--r-- | src/str/ft_strtrim.c (renamed from src/ft_strtrim.c) | 0 | ||||
| -rw-r--r-- | src/str/ft_substr.c (renamed from src/ft_substr.c) | 0 |
98 files changed, 111 insertions, 32 deletions
@@ -6,7 +6,7 @@ # By: cacharle <marvin@42.fr> +#+ +:+ +#+ # # +#+#+#+#+#+ +#+ # # Created: 2019/10/08 15:45:53 by cacharle #+# #+# # -# Updated: 2020/01/15 08:48:42 by cacharle ### ########.fr # +# Updated: 2020/01/15 09:54:56 by cacharle ### ########.fr # # # # **************************************************************************** # @@ -22,46 +22,119 @@ CC = gcc CCFLAGS = -I$(INCLUDE_DIR) -Wall -Wextra -Werror NAME = libft.a -SRC_FILES = ft_atoi.c ft_bzero.c ft_isalnum.c ft_isalpha.c ft_isascii.c \ - ft_isprint.c ft_itoa.c ft_memalloc.c ft_memccpy.c ft_memchr.c \ - ft_memcmp.c ft_memcpy.c ft_memdel.c ft_memmove.c ft_memset.c \ - ft_putchar.c ft_putchar_fd.c ft_putendl.c ft_putendl_fd.c \ - ft_putnbr.c ft_putnbr_fd.c ft_putstr.c ft_putstr_fd.c ft_strcat.c \ - ft_strchr.c ft_strclr.c ft_strcmp.c ft_strcpy.c ft_strdel.c \ - ft_strdup.c ft_strequ.c ft_striter.c ft_striteri.c ft_strjoin.c \ - ft_strlcat.c ft_strlen.c ft_strmap.c ft_strmapi.c ft_strncat.c \ - ft_strncmp.c ft_strncpy.c ft_strnequ.c ft_strnew.c ft_strnstr.c \ - ft_strrchr.c ft_split.c ft_strstr.c ft_substr.c ft_strtrim.c \ - ft_tolower.c ft_toupper.c ft_strlcpy.c ft_calloc.c ft_strndup.c \ - ft_strjoin_free.c ft_strjoin_free_snd.c ft_strcount.c \ - $(GET_NEXT_LINE_DIR)/get_next_line.c ft_isdigit.c - # ft_printf.c ft_sprintf.c ft_snprintf.c ft_asprintf.c ft_dprintf.c \ - # ft_vprintf.c ft_vsprintf.c ft_vsnprintf.c ft_vasprintf.c ft_vdprintf.c -SRC = $(addprefix $(SRC_DIR)/,$(SRC_FILES)) + +# SRC_CTYPE_DIR = ctype +# SRC_CTYPE = ft_isalnum.c \ +# ft_isalpha.c \ +# ft_isascii.c \ +# ft_isdigit.c \ +# ft_isprint.c \ +# ft_tolower.c \ +# ft_toupper.c +# +# SRC_IO_DIR = io +# SRC_IO = ft_asprintf.c \ +# ft_dprintf.c \ +# ft_printf \ +# ft_printf.c \ +# ft_putchar.c \ +# ft_putchar_fd.c \ +# ft_putendl.c \ +# ft_putendl_fd.c \ +# ft_putnbr.c \ +# ft_putnbr_fd.c \ +# ft_putstr.c \ +# ft_putstr_fd.c \ +# ft_snprintf.c \ +# ft_sprintf.c \ +# ft_vasprintf.c \ +# ft_vdprintf.c \ +# ft_vprintf.c \ +# ft_vsnprintf.c \ +# ft_vsprintf.c \ +# get_next_line +# +# SRC_LST_DIR = lst +# SRC_LST = ft_lstadd_back.c \ +# ft_lstadd_front.c \ +# ft_lstclear.c \ +# ft_lstdelone.c \ +# ft_lstiter.c \ +# ft_lstlast.c \ +# ft_lstmap.c \ +# ft_lstnew.c \ +# ft_lstpop_front.c \ +# ft_lstsize.c +# +# SRC_MEM_DIR = mem +# SRC_MEM = ft_bzero.c \ +# ft_calloc.c \ +# ft_memalloc.c \ +# ft_memccpy.c \ +# ft_memchr.c \ +# ft_memcmp.c \ +# ft_memcpy.c \ +# ft_memdel.c \ +# ft_memmove.c \ +# ft_memset.c +# +# SRC_STR_DIR = str +# SRC_STR = ft_atoi.c \ +# ft_itoa.c \ +# ft_split.c \ +# ft_strcat.c \ +# ft_strchr.c \ +# ft_strclr.c \ +# ft_strcmp.c \ +# ft_strcount.c \ +# ft_strcpy.c \ +# ft_strdel.c \ +# ft_strdup.c \ +# ft_strequ.c \ +# ft_striter.c \ +# ft_striteri.c \ +# ft_strjoin.c \ +# ft_strjoin_free.c \ +# ft_strjoin_free_snd.c \ +# ft_strlcat.c \ +# ft_strlcpy.c \ +# ft_strlen.c \ +# ft_strmap.c \ +# ft_strmapi.c \ +# ft_strncat.c \ +# ft_strncmp.c \ +# ft_strncpy.c \ +# ft_strndup.c \ +# ft_strnequ.c \ +# ft_strnew.c \ +# ft_strnstr.c \ +# ft_strrchr.c \ +# ft_strstr.c \ +# ft_strtrim.c \ +# ft_substr.c + +SRC = $(shell find $(SRC_DIR) -name *.c) + +# SRC = $(addprefix $(SRC_DIR)/,$(SRC_FILES)) OBJ = $(SRC:$(SRC_DIR)/%.c=$(OBJ_DIR)/%.o) HEADER_FILES = libft.h get_next_line.h HEADER = $(addprefix $(INCLUDE_DIR)/,$(HEADER_FILES)) -# BONUSSRC = ft_lstadd_back_bonus.c ft_lstadd_front_bonus.c ft_lstclear_bonus.c \ -# ft_lstdelone_bonus.c ft_lstiter_bonus.c ft_lstlast_bonus.c \ -# ft_lstmap_bonus.c ft_lstnew_bonus.c ft_lstsize_bonus.c ft_lstpop_front_bonus.c -# BONUSOBJ = $(BONUSSRC:.c=.o) +BONUSOBJ = $(BONUSSRC:.c=.o) -all: dir_prerequisit $(NAME) +all: make_build_dirs $(NAME) -dir_prerequisit: - @if [ ! -d "$(OBJ_DIR)" ]; then mkdir $(OBJ_DIR); fi - @if [ ! -d "$(OBJ_DIR)/$(GET_NEXT_LINE_DIR)" ]; then \ - mkdir $(OBJ_DIR)/$(GET_NEXT_LINE_DIR); fi +make_build_dirs: + @for dir in $$(find $(SRC_DIR)/* -type d | sed 's_$(SRC_DIR)/_$(OBJ_DIR)/_g'); \ + do \ + if [ ! -d "$$dir" ]; then mkdir -p $$dir; fi \ + done $(NAME): $(OBJ) $(HEADER) $(LIB) $(NAME) $(OBJ) -# bonus: $(BONUSOBJ) $(HEADER) -# $(LIB) $(NAME) $(BONUSOBJ) - $(OBJ_DIR)/%.o: $(SRC_DIR)/%.c $(CC) $(CCFLAGS) -c -o $@ $< @@ -71,4 +144,6 @@ clean: fclean: clean $(RM) $(NAME) -re: fclean all +re: + @make fclean + @make all diff --git a/include/libft.h b/include/libft.h index 0880568..3777f8a 100644 --- a/include/libft.h +++ b/include/libft.h @@ -6,7 +6,7 @@ /* By: cacharle <marvin@42.fr> +#+ +:+ +#+ */ /* +#+#+#+#+#+ +#+ */ /* Created: 2019/10/07 09:45:02 by cacharle #+# #+# */ -/* Updated: 2019/11/21 03:39:19 by cacharle ### ########.fr */ +/* Updated: 2020/01/15 10:03:22 by cacharle ### ########.fr */ /* */ /* ************************************************************************** */ @@ -27,6 +27,10 @@ # define MAX(x, y) ((x) > (y) ? (x) : (y)) typedef unsigned char t_byte; +typedef int t_bool; + +# define TRUE 1 +# define FALSE 0 /* ** memory diff --git a/src/ft_isalnum.c b/src/ctype/ft_isalnum.c index 1ee1e0f..1ee1e0f 100644 --- a/src/ft_isalnum.c +++ b/src/ctype/ft_isalnum.c diff --git a/src/ft_isalpha.c b/src/ctype/ft_isalpha.c index 6f155b4..6f155b4 100644 --- a/src/ft_isalpha.c +++ b/src/ctype/ft_isalpha.c diff --git a/src/ft_isascii.c b/src/ctype/ft_isascii.c index 51dcd1c..51dcd1c 100644 --- a/src/ft_isascii.c +++ b/src/ctype/ft_isascii.c diff --git a/src/ft_isdigit.c b/src/ctype/ft_isdigit.c index f8a5850..f8a5850 100644 --- a/src/ft_isdigit.c +++ b/src/ctype/ft_isdigit.c diff --git a/src/ft_isprint.c b/src/ctype/ft_isprint.c index c311709..c311709 100644 --- a/src/ft_isprint.c +++ b/src/ctype/ft_isprint.c diff --git a/src/ft_tolower.c b/src/ctype/ft_tolower.c index 919469f..919469f 100644 --- a/src/ft_tolower.c +++ b/src/ctype/ft_tolower.c diff --git a/src/ft_toupper.c b/src/ctype/ft_toupper.c index 8579b91..8579b91 100644 --- a/src/ft_toupper.c +++ b/src/ctype/ft_toupper.c diff --git a/src/ft_asprintf.c b/src/io/ft_asprintf.c index 5eb62d9..5eb62d9 100644 --- a/src/ft_asprintf.c +++ b/src/io/ft_asprintf.c diff --git a/src/ft_dprintf.c b/src/io/ft_dprintf.c index 8e60970..8e60970 100644 --- a/src/ft_dprintf.c +++ b/src/io/ft_dprintf.c diff --git a/src/ft_printf.c b/src/io/ft_printf.c index 1b92bb2..1b92bb2 100644 --- a/src/ft_printf.c +++ b/src/io/ft_printf.c diff --git a/src/ft_printf/convert.c b/src/io/ft_printf/convert.c index 398c754..398c754 100644 --- a/src/ft_printf/convert.c +++ b/src/io/ft_printf/convert.c diff --git a/src/ft_printf/convert_char.c b/src/io/ft_printf/convert_char.c index c5f3a93..c5f3a93 100644 --- a/src/ft_printf/convert_char.c +++ b/src/io/ft_printf/convert_char.c diff --git a/src/ft_printf/convert_hex.c b/src/io/ft_printf/convert_hex.c index 0464dc7..0464dc7 100644 --- a/src/ft_printf/convert_hex.c +++ b/src/io/ft_printf/convert_hex.c diff --git a/src/ft_printf/convert_int.c b/src/io/ft_printf/convert_int.c index 2345f76..2345f76 100644 --- a/src/ft_printf/convert_int.c +++ b/src/io/ft_printf/convert_int.c diff --git a/src/ft_printf/convert_none.c b/src/io/ft_printf/convert_none.c index 358ef1b..358ef1b 100644 --- a/src/ft_printf/convert_none.c +++ b/src/io/ft_printf/convert_none.c diff --git a/src/ft_printf/convert_percent.c b/src/io/ft_printf/convert_percent.c index 813bb77..813bb77 100644 --- a/src/ft_printf/convert_percent.c +++ b/src/io/ft_printf/convert_percent.c diff --git a/src/ft_printf/convert_ptr.c b/src/io/ft_printf/convert_ptr.c index 63babb9..63babb9 100644 --- a/src/ft_printf/convert_ptr.c +++ b/src/io/ft_printf/convert_ptr.c diff --git a/src/ft_printf/convert_str.c b/src/io/ft_printf/convert_str.c index 7d51a5e..7d51a5e 100644 --- a/src/ft_printf/convert_str.c +++ b/src/io/ft_printf/convert_str.c diff --git a/src/ft_printf/convert_uint.c b/src/io/ft_printf/convert_uint.c index 4207165..4207165 100644 --- a/src/ft_printf/convert_uint.c +++ b/src/io/ft_printf/convert_uint.c diff --git a/src/ft_printf/convert_written.c b/src/io/ft_printf/convert_written.c index 4beeaef..4beeaef 100644 --- a/src/ft_printf/convert_written.c +++ b/src/io/ft_printf/convert_written.c diff --git a/src/ft_printf/extract.c b/src/io/ft_printf/extract.c index c56a777..c56a777 100644 --- a/src/ft_printf/extract.c +++ b/src/io/ft_printf/extract.c diff --git a/src/ft_printf/ft_printf.c b/src/io/ft_printf/ft_printf.c index daa0cf2..daa0cf2 100644 --- a/src/ft_printf/ft_printf.c +++ b/src/io/ft_printf/ft_printf.c diff --git a/src/ft_printf/ft_vasprintf.h b/src/io/ft_printf/ft_vasprintf.h index 4110557..4110557 100644 --- a/src/ft_printf/ft_vasprintf.h +++ b/src/io/ft_printf/ft_vasprintf.h diff --git a/src/ft_printf/length_modifier.c b/src/io/ft_printf/length_modifier.c index 88226da..88226da 100644 --- a/src/ft_printf/length_modifier.c +++ b/src/io/ft_printf/length_modifier.c diff --git a/src/ft_printf/list.c b/src/io/ft_printf/list.c index 99491f4..99491f4 100644 --- a/src/ft_printf/list.c +++ b/src/io/ft_printf/list.c diff --git a/src/ft_printf/parse.c b/src/io/ft_printf/parse.c index 33928a0..33928a0 100644 --- a/src/ft_printf/parse.c +++ b/src/io/ft_printf/parse.c diff --git a/src/ft_printf/utils.c b/src/io/ft_printf/utils.c index ad44980..ad44980 100644 --- a/src/ft_printf/utils.c +++ b/src/io/ft_printf/utils.c diff --git a/src/ft_putchar.c b/src/io/ft_putchar.c index 2838f0a..2838f0a 100644 --- a/src/ft_putchar.c +++ b/src/io/ft_putchar.c diff --git a/src/ft_putchar_fd.c b/src/io/ft_putchar_fd.c index 97d6f7a..97d6f7a 100644 --- a/src/ft_putchar_fd.c +++ b/src/io/ft_putchar_fd.c diff --git a/src/ft_putendl.c b/src/io/ft_putendl.c index 880977e..880977e 100644 --- a/src/ft_putendl.c +++ b/src/io/ft_putendl.c diff --git a/src/ft_putendl_fd.c b/src/io/ft_putendl_fd.c index a8077fc..a8077fc 100644 --- a/src/ft_putendl_fd.c +++ b/src/io/ft_putendl_fd.c diff --git a/src/ft_putnbr.c b/src/io/ft_putnbr.c index 247df40..247df40 100644 --- a/src/ft_putnbr.c +++ b/src/io/ft_putnbr.c diff --git a/src/ft_putnbr_fd.c b/src/io/ft_putnbr_fd.c index 169d1b5..169d1b5 100644 --- a/src/ft_putnbr_fd.c +++ b/src/io/ft_putnbr_fd.c diff --git a/src/ft_putstr.c b/src/io/ft_putstr.c index 14b01a3..14b01a3 100644 --- a/src/ft_putstr.c +++ b/src/io/ft_putstr.c diff --git a/src/ft_putstr_fd.c b/src/io/ft_putstr_fd.c index d0279ab..d0279ab 100644 --- a/src/ft_putstr_fd.c +++ b/src/io/ft_putstr_fd.c diff --git a/src/ft_snprintf.c b/src/io/ft_snprintf.c index e1fdfbd..e1fdfbd 100644 --- a/src/ft_snprintf.c +++ b/src/io/ft_snprintf.c diff --git a/src/ft_sprintf.c b/src/io/ft_sprintf.c index 31da75e..31da75e 100644 --- a/src/ft_sprintf.c +++ b/src/io/ft_sprintf.c diff --git a/src/ft_vasprintf.c b/src/io/ft_vasprintf.c index 85f66bc..85f66bc 100644 --- a/src/ft_vasprintf.c +++ b/src/io/ft_vasprintf.c diff --git a/src/ft_vdprintf.c b/src/io/ft_vdprintf.c index a5e5ebf..a5e5ebf 100644 --- a/src/ft_vdprintf.c +++ b/src/io/ft_vdprintf.c diff --git a/src/ft_vprintf.c b/src/io/ft_vprintf.c index b98670b..b98670b 100644 --- a/src/ft_vprintf.c +++ b/src/io/ft_vprintf.c diff --git a/src/ft_vsnprintf.c b/src/io/ft_vsnprintf.c index 7db988c..7db988c 100644 --- a/src/ft_vsnprintf.c +++ b/src/io/ft_vsnprintf.c diff --git a/src/ft_vsprintf.c b/src/io/ft_vsprintf.c index 91b4815..91b4815 100644 --- a/src/ft_vsprintf.c +++ b/src/io/ft_vsprintf.c diff --git a/src/get_next_line/get_next_line.c b/src/io/get_next_line/get_next_line.c index e51f152..e51f152 100644 --- a/src/get_next_line/get_next_line.c +++ b/src/io/get_next_line/get_next_line.c diff --git a/src/ft_lstadd_back_bonus.c b/src/lst/ft_lstadd_back.c index 01eb00c..01eb00c 100644 --- a/src/ft_lstadd_back_bonus.c +++ b/src/lst/ft_lstadd_back.c diff --git a/src/ft_lstadd_front_bonus.c b/src/lst/ft_lstadd_front.c index 282b0b4..282b0b4 100644 --- a/src/ft_lstadd_front_bonus.c +++ b/src/lst/ft_lstadd_front.c diff --git a/src/ft_lstclear_bonus.c b/src/lst/ft_lstclear.c index ee1d9e5..ee1d9e5 100644 --- a/src/ft_lstclear_bonus.c +++ b/src/lst/ft_lstclear.c diff --git a/src/ft_lstdelone_bonus.c b/src/lst/ft_lstdelone.c index 30cec69..30cec69 100644 --- a/src/ft_lstdelone_bonus.c +++ b/src/lst/ft_lstdelone.c diff --git a/src/ft_lstiter_bonus.c b/src/lst/ft_lstiter.c index 282e0fa..282e0fa 100644 --- a/src/ft_lstiter_bonus.c +++ b/src/lst/ft_lstiter.c diff --git a/src/ft_lstlast_bonus.c b/src/lst/ft_lstlast.c index 247f4da..247f4da 100644 --- a/src/ft_lstlast_bonus.c +++ b/src/lst/ft_lstlast.c diff --git a/src/ft_lstmap_bonus.c b/src/lst/ft_lstmap.c index c623d6f..c623d6f 100644 --- a/src/ft_lstmap_bonus.c +++ b/src/lst/ft_lstmap.c diff --git a/src/ft_lstnew_bonus.c b/src/lst/ft_lstnew.c index ea10e4d..ea10e4d 100644 --- a/src/ft_lstnew_bonus.c +++ b/src/lst/ft_lstnew.c diff --git a/src/ft_lstpop_front_bonus.c b/src/lst/ft_lstpop_front.c index f81315a..f81315a 100644 --- a/src/ft_lstpop_front_bonus.c +++ b/src/lst/ft_lstpop_front.c diff --git a/src/ft_lstsize_bonus.c b/src/lst/ft_lstsize.c index b9d65d2..b9d65d2 100644 --- a/src/ft_lstsize_bonus.c +++ b/src/lst/ft_lstsize.c diff --git a/src/ft_bzero.c b/src/mem/ft_bzero.c index d179af0..d179af0 100644 --- a/src/ft_bzero.c +++ b/src/mem/ft_bzero.c diff --git a/src/ft_calloc.c b/src/mem/ft_calloc.c index 24501bf..24501bf 100644 --- a/src/ft_calloc.c +++ b/src/mem/ft_calloc.c diff --git a/src/ft_memalloc.c b/src/mem/ft_memalloc.c index 5aab2ec..5aab2ec 100644 --- a/src/ft_memalloc.c +++ b/src/mem/ft_memalloc.c diff --git a/src/ft_memccpy.c b/src/mem/ft_memccpy.c index f95aa03..f95aa03 100644 --- a/src/ft_memccpy.c +++ b/src/mem/ft_memccpy.c diff --git a/src/ft_memchr.c b/src/mem/ft_memchr.c index d2364db..d2364db 100644 --- a/src/ft_memchr.c +++ b/src/mem/ft_memchr.c diff --git a/src/ft_memcmp.c b/src/mem/ft_memcmp.c index 2c8e179..2c8e179 100644 --- a/src/ft_memcmp.c +++ b/src/mem/ft_memcmp.c diff --git a/src/ft_memcpy.c b/src/mem/ft_memcpy.c index 70837bc..70837bc 100644 --- a/src/ft_memcpy.c +++ b/src/mem/ft_memcpy.c diff --git a/src/ft_memdel.c b/src/mem/ft_memdel.c index 2b21f33..2b21f33 100644 --- a/src/ft_memdel.c +++ b/src/mem/ft_memdel.c diff --git a/src/ft_memmove.c b/src/mem/ft_memmove.c index aa107bd..aa107bd 100644 --- a/src/ft_memmove.c +++ b/src/mem/ft_memmove.c diff --git a/src/ft_memset.c b/src/mem/ft_memset.c index 7963fd0..7963fd0 100644 --- a/src/ft_memset.c +++ b/src/mem/ft_memset.c diff --git a/src/ft_atoi.c b/src/str/ft_atoi.c index bfba860..0ad6022 100644 --- a/src/ft_atoi.c +++ b/src/str/ft_atoi.c @@ -6,7 +6,7 @@ /* By: cacharle <marvin@42.fr> +#+ +:+ +#+ */ /* +#+#+#+#+#+ +#+ */ /* Created: 2019/10/07 09:46:16 by cacharle #+# #+# */ -/* Updated: 2019/11/20 01:43:18 by cacharle ### ########.fr */ +/* Updated: 2020/01/15 09:26:14 by cacharle ### ########.fr */ /* */ /* ************************************************************************** */ diff --git a/src/ft_itoa.c b/src/str/ft_itoa.c index 166e278..166e278 100644 --- a/src/ft_itoa.c +++ b/src/str/ft_itoa.c diff --git a/src/ft_split.c b/src/str/ft_split.c index 6fb5964..6fb5964 100644 --- a/src/ft_split.c +++ b/src/str/ft_split.c diff --git a/src/ft_strcat.c b/src/str/ft_strcat.c index d5bc7e0..d5bc7e0 100644 --- a/src/ft_strcat.c +++ b/src/str/ft_strcat.c diff --git a/src/ft_strchr.c b/src/str/ft_strchr.c index 50bfc0a..50bfc0a 100644 --- a/src/ft_strchr.c +++ b/src/str/ft_strchr.c diff --git a/src/ft_strclr.c b/src/str/ft_strclr.c index 7e412fe..7e412fe 100644 --- a/src/ft_strclr.c +++ b/src/str/ft_strclr.c diff --git a/src/ft_strcmp.c b/src/str/ft_strcmp.c index 1978286..1978286 100644 --- a/src/ft_strcmp.c +++ b/src/str/ft_strcmp.c diff --git a/src/ft_strcount.c b/src/str/ft_strcount.c index 87e756d..87e756d 100644 --- a/src/ft_strcount.c +++ b/src/str/ft_strcount.c diff --git a/src/ft_strcpy.c b/src/str/ft_strcpy.c index 9677b24..9677b24 100644 --- a/src/ft_strcpy.c +++ b/src/str/ft_strcpy.c diff --git a/src/ft_strdel.c b/src/str/ft_strdel.c index 05cf064..05cf064 100644 --- a/src/ft_strdel.c +++ b/src/str/ft_strdel.c diff --git a/src/ft_strdup.c b/src/str/ft_strdup.c index 65a6ac6..65a6ac6 100644 --- a/src/ft_strdup.c +++ b/src/str/ft_strdup.c diff --git a/src/ft_strequ.c b/src/str/ft_strequ.c index 75ccb81..75ccb81 100644 --- a/src/ft_strequ.c +++ b/src/str/ft_strequ.c diff --git a/src/ft_striter.c b/src/str/ft_striter.c index f410d24..f410d24 100644 --- a/src/ft_striter.c +++ b/src/str/ft_striter.c diff --git a/src/ft_striteri.c b/src/str/ft_striteri.c index 05f15d4..05f15d4 100644 --- a/src/ft_striteri.c +++ b/src/str/ft_striteri.c diff --git a/src/ft_strjoin.c b/src/str/ft_strjoin.c index 2bc4908..2bc4908 100644 --- a/src/ft_strjoin.c +++ b/src/str/ft_strjoin.c diff --git a/src/ft_strjoin_free.c b/src/str/ft_strjoin_free.c index 4050b77..4050b77 100644 --- a/src/ft_strjoin_free.c +++ b/src/str/ft_strjoin_free.c diff --git a/src/ft_strjoin_free_snd.c b/src/str/ft_strjoin_free_snd.c index 0503211..0503211 100644 --- a/src/ft_strjoin_free_snd.c +++ b/src/str/ft_strjoin_free_snd.c diff --git a/src/ft_strlcat.c b/src/str/ft_strlcat.c index ce7fa0b..ce7fa0b 100644 --- a/src/ft_strlcat.c +++ b/src/str/ft_strlcat.c diff --git a/src/ft_strlcpy.c b/src/str/ft_strlcpy.c index 6afb8f5..6afb8f5 100644 --- a/src/ft_strlcpy.c +++ b/src/str/ft_strlcpy.c diff --git a/src/ft_strlen.c b/src/str/ft_strlen.c index 0e0a47c..0e0a47c 100644 --- a/src/ft_strlen.c +++ b/src/str/ft_strlen.c diff --git a/src/ft_strmap.c b/src/str/ft_strmap.c index 61d16f1..61d16f1 100644 --- a/src/ft_strmap.c +++ b/src/str/ft_strmap.c diff --git a/src/ft_strmapi.c b/src/str/ft_strmapi.c index 71d77e4..71d77e4 100644 --- a/src/ft_strmapi.c +++ b/src/str/ft_strmapi.c diff --git a/src/ft_strncat.c b/src/str/ft_strncat.c index d68db0a..d68db0a 100644 --- a/src/ft_strncat.c +++ b/src/str/ft_strncat.c diff --git a/src/ft_strncmp.c b/src/str/ft_strncmp.c index cd303fc..cd303fc 100644 --- a/src/ft_strncmp.c +++ b/src/str/ft_strncmp.c diff --git a/src/ft_strncpy.c b/src/str/ft_strncpy.c index a0cfb4c..a0cfb4c 100644 --- a/src/ft_strncpy.c +++ b/src/str/ft_strncpy.c diff --git a/src/ft_strndup.c b/src/str/ft_strndup.c index 0683dae..0683dae 100644 --- a/src/ft_strndup.c +++ b/src/str/ft_strndup.c diff --git a/src/ft_strnequ.c b/src/str/ft_strnequ.c index e242ee7..e242ee7 100644 --- a/src/ft_strnequ.c +++ b/src/str/ft_strnequ.c diff --git a/src/ft_strnew.c b/src/str/ft_strnew.c index 1bca6d5..1bca6d5 100644 --- a/src/ft_strnew.c +++ b/src/str/ft_strnew.c diff --git a/src/ft_strnstr.c b/src/str/ft_strnstr.c index 4995637..4995637 100644 --- a/src/ft_strnstr.c +++ b/src/str/ft_strnstr.c diff --git a/src/ft_strrchr.c b/src/str/ft_strrchr.c index 56c8be5..56c8be5 100644 --- a/src/ft_strrchr.c +++ b/src/str/ft_strrchr.c diff --git a/src/ft_strstr.c b/src/str/ft_strstr.c index 4d4d403..4d4d403 100644 --- a/src/ft_strstr.c +++ b/src/str/ft_strstr.c diff --git a/src/ft_strtrim.c b/src/str/ft_strtrim.c index aa48826..aa48826 100644 --- a/src/ft_strtrim.c +++ b/src/str/ft_strtrim.c diff --git a/src/ft_substr.c b/src/str/ft_substr.c index 84d6c58..84d6c58 100644 --- a/src/ft_substr.c +++ b/src/str/ft_substr.c |
