Move BUFSIZE macro

This commit is contained in:
Timo Schmidt 2023-03-24 02:06:56 +01:00
parent f5cde71df9
commit 3472f4a1b1
1 changed files with 2 additions and 3 deletions

View File

@ -6,12 +6,10 @@
/* By: tischmid <marvin@42.fr> +#+ +:+ +#+ */ /* By: tischmid <marvin@42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */ /* +#+#+#+#+#+ +#+ */
/* Created: 2023/03/19 11:49:46 by tischmid #+# #+# */ /* Created: 2023/03/19 11:49:46 by tischmid #+# #+# */
/* Updated: 2023/03/24 01:30:43 by tischmid ### ########.fr */ /* Updated: 2023/03/24 02:06:46 by tischmid ### ########.fr */
/* */ /* */
/* ************************************************************************** */ /* ************************************************************************** */
#define BUFSIZE 10
unsigned int ft_strlcpy(char *dest, char *src, unsigned int size) unsigned int ft_strlcpy(char *dest, char *src, unsigned int size)
{ {
char *orig_src; char *orig_src;
@ -28,6 +26,7 @@ unsigned int ft_strlcpy(char *dest, char *src, unsigned int size)
/* //// /* ////
#include <stdio.h> #include <stdio.h>
#define BUFSIZE 10
int main(void) int main(void)
{ {