29 lines
1.3 KiB
C
29 lines
1.3 KiB
C
/* ************************************************************************** */
|
|
/* */
|
|
/* ::: :::::::: */
|
|
/* printf.c :+: :+: :+: */
|
|
/* +:+ +:+ +:+ */
|
|
/* By: tmaze <tmaze@student.42.fr> +#+ +:+ +#+ */
|
|
/* +#+#+#+#+#+ +#+ */
|
|
/* Created: 2018/05/01 15:01:57 by tmaze #+# #+# */
|
|
/* Updated: 2018/05/05 19:37:56 by tmaze ### ########.fr */
|
|
/* */
|
|
/* ************************************************************************** */
|
|
|
|
#include <stdio.h>
|
|
|
|
#include "libftprintf.h"
|
|
|
|
char happy[] = { 0xe2, 0x98, 0xba }; /* U+263A */
|
|
wchar_t Whappy[] = { 0xe2, 0x98, 0xba }; /* U+263A */
|
|
|
|
int main(void)
|
|
{
|
|
write(1, happy, 3);
|
|
write(1, "\n", 1);
|
|
printf("plop %++0 #%plap \"%+-20.10i\"\n", 15);
|
|
// printf("%lu %#% %S \"% -10.8d\" \"%-10.8s\"\n", sizeof(wchar_t), Whappy, -1475, "Je suis");
|
|
ft_printf("plop %++0 #%plap \"%+-20.10i\"\n", 15);
|
|
return (0);
|
|
}
|