/printf

Writing my own printf function

Primary LanguageC

0x11. C - printf

Write your own printf function.

Using The Following Functions and Macros

  • write (man 2 write)
  • malloc (man 3 malloc)
  • free (man 3 free)
  • va_start (man 3 va_start)
  • va_end (man 3 va_end)
  • va_copy (man 3 va_copy)
  • va_arg (man 3 va_arg)

Compiling with:

$ gcc -Wall -Werror -Wextra -pedantic -std=gnu89 *.c