BUFSIZE for ex00
This commit is contained in:
parent
2111fa0022
commit
5b8f97bba1
|
@ -6,7 +6,7 @@
|
|||
/* By: tischmid <marvin@42.fr> +#+ +:+ +#+ */
|
||||
/* +#+#+#+#+#+ +#+ */
|
||||
/* Created: 2023/03/19 05:59:56 by tischmid #+# #+# */
|
||||
/* Updated: 2023/03/19 06:04:51 by tischmid ### ########.fr */
|
||||
/* Updated: 2023/03/24 01:05:46 by tischmid ### ########.fr */
|
||||
/* */
|
||||
/* ************************************************************************** */
|
||||
|
||||
|
@ -23,10 +23,11 @@ char *ft_strcpy(char *s1, char *s2)
|
|||
|
||||
/* ////
|
||||
#include <stdio.h>
|
||||
#define BUFSIZE 10
|
||||
|
||||
int main(void)
|
||||
{
|
||||
char s1[10];
|
||||
char s1[BUFSIZE];
|
||||
|
||||
ft_strcpy(s1, "0123456789");
|
||||
printf("%s\n", s1);
|
||||
|
|
Loading…
Reference in New Issue