Вам нужно написать функцию printf() из libc. Прототип ft_printf() следующий:
int ft_printf(const char *, ...);
Вот требования:
- Не надо реализовывать управление буфером оригинальной функции printf().
- Ваша функция должна обрабатывать следующие преобразования: cspdiuxX%.
- Ваша функция будет сравниваться с оригинальной printf().
- Вы должны использовать команду ar для создания библиотеки.
Использование команды libtool запрещено. - Ваша библиотека libftprintf.a должна быть создана в корне вашего репозитория.
You have to recode the printf() function from libc. The prototype of ft_printf() is:
int ft_printf(const char *, ...);
Here are the requirements:
• Don’t implement the buffer management of the original printf().
• Your function has to handle the following conversions: cspdiuxX%.
• Your function will be compared against the original printf().
• You must use the command ar to create your library.
Using the libtool command is forbidden.
• Your libftprintf.a has to be created at the root of your repository.