The _printf function created will print formatted output analogous to the origin printf
_printf was created as part of the Holberton School curriculum dealing with low level programming and it's overall mission to create engineers who understand peer learning/programming. Said function's capabilities are similar that of the printf found in the standard library and will be discussed below.
Task - Description
[x] 0. Write a function that produces out corresponding to format specifiers c, s
[x] 1. Add functionality of format specifiers d, i
[x] 2. Create a man page for the function
[x] 3. Add functionality of format specifier b
[x] 4. Add functionality of format specifiers u, o, x, X
[x] 6. Add functionality of format specifiers S
[x] 14. Add functionality of format specifiers r
[x] 15. Add functionality of format specifiers R
- Allowed editors: vi, vim, emacs
- All files will be compiled on Ubuntu 14.04 LTS
- Programs and functions will be compiled with gcc 4.8.4 using the flags -Wall -Werror -Wextra and -pedantic
- A README.md file, at the root of the folder of the project is mandatory
- Global variables are not permitted
- No more than 5 functions per file
- The prototypes of all functions should be included in your header file called holberton.h
- All your header files should be include guarded
- Authorized 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)