fix number and unsigned flags behavior

This commit is contained in:
David Gailleton
2025-11-21 12:29:38 +01:00
parent 942a76c371
commit 92e03e0caf
7 changed files with 72 additions and 26 deletions

6
test.c
View File

@@ -6,7 +6,7 @@
/* By: dgaillet <dgaillet@student.42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2025/11/20 16:11:53 by dgaillet #+# #+# */
/* Updated: 2025/11/20 18:01:15 by dgaillet ### ########lyon.fr */
/* Updated: 2025/11/21 12:25:53 by dgaillet ### ########lyon.fr */
/* */
/* ************************************************************************** */
@@ -17,6 +17,6 @@
int main(void)
{
printf("===\t-\t===\n\n");
printf("%d - ", printf("...%10.s...\n", NULL));
printf("%d\n\n", ft_printf("...%10.s...\n", NULL));
printf("%d - ", printf("...%.0u...\n", 0));
printf("%d\n\n", ft_printf("...%.0u...\n", 0));
}