Implementation of printf in C. This program formats an input string and prints it out to the screen(standard out) and then returns the number of bytes printed to screen to the calling function.
To compile the program and use it, put all the files in this repository in the same folder and supply your own main.c file. Then use the following command to compile it. gcc -Wall -Werror -Wextra -pedantic *.c
File | Description |
---|---|
get_op_func.c | Wrapper Function to pick the correct conversion specifier function |
helper1.c | helper functions file |
holberton.h | header file |
itoa.c | function to convert from integer to ascii |
man_3_printf | man page for printf function |
op_binary.c | function to convert from decimal to binary |
op_functions.c | conversion specifier functions |
printf.c | _printf function file |
Leo Byeon
Peter Wu