better log message
This commit is contained in:
parent
9e73cc7176
commit
7f6e5230c8
|
@ -6,7 +6,7 @@
|
||||||
/* By: tischmid <marvin@42.fr> +#+ +:+ +#+ */
|
/* By: tischmid <marvin@42.fr> +#+ +:+ +#+ */
|
||||||
/* +#+#+#+#+#+ +#+ */
|
/* +#+#+#+#+#+ +#+ */
|
||||||
/* Created: 2023/03/19 10:25:26 by tischmid #+# #+# */
|
/* Created: 2023/03/19 10:25:26 by tischmid #+# #+# */
|
||||||
/* Updated: 2023/03/24 01:29:37 by tischmid ### ########.fr */
|
/* Updated: 2023/03/24 23:18:06 by tischmid ### ########.fr */
|
||||||
/* */
|
/* */
|
||||||
/* ************************************************************************** */
|
/* ************************************************************************** */
|
||||||
|
|
||||||
|
@ -31,7 +31,7 @@ int main(void)
|
||||||
|
|
||||||
for (int j = 0; j < 11; ++j)
|
for (int j = 0; j < 11; ++j)
|
||||||
{
|
{
|
||||||
printf("####### Size == %d #######\n", j);
|
printf("####### Dest = '|' * 10, src = 'Hey', Size == %d #######\n", j);
|
||||||
ft_strncpy(buf, "Hei", j);
|
ft_strncpy(buf, "Hei", j);
|
||||||
for (int i = 0; i < BUFSIZE; ++i)
|
for (int i = 0; i < BUFSIZE; ++i)
|
||||||
printf((buf[i] >= 32 && buf[i] <= 126) ? "%c\n" : "0x%x\n", buf[i]);
|
printf((buf[i] >= 32 && buf[i] <= 126) ? "%c\n" : "0x%x\n", buf[i]);
|
||||||
|
|
Loading…
Reference in New Issue