Move BUFSIZE macro
This commit is contained in:
parent
f5cde71df9
commit
3472f4a1b1
|
@ -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)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue