Move bufsize macro to main;
This commit is contained in:
parent
daeee8b218
commit
2111fa0022
|
@ -6,12 +6,10 @@
|
|||
/* By: tischmid <marvin@42.fr> +#+ +:+ +#+ */
|
||||
/* +#+#+#+#+#+ +#+ */
|
||||
/* Created: 2023/03/19 10:25:26 by tischmid #+# #+# */
|
||||
/* Updated: 2023/03/24 00:36:14 by tischmid ### ########.fr */
|
||||
/* Updated: 2023/03/24 01:05:10 by tischmid ### ########.fr */
|
||||
/* */
|
||||
/* ************************************************************************** */
|
||||
|
||||
#define BUFSIZE 10
|
||||
|
||||
char *ft_strncpy(char *dest, char *src, unsigned int n)
|
||||
{
|
||||
++n;
|
||||
|
@ -24,6 +22,8 @@ char *ft_strncpy(char *dest, char *src, unsigned int n)
|
|||
|
||||
/* ////
|
||||
#include <stdio.h>
|
||||
#define BUFSIZE 10
|
||||
|
||||
|
||||
int main(void)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue