This project is a custom implementation of the printf function in C. It provides a flexible and extensible way to format and print data to the standard output.
- Supports standard conversion specifiers:
%c,%s,%%. - Handles custom conversion specifiers:
%b,%S. - Additional advanced features for handling flag characters, length modifiers, field width, precision, and more.
- Efficiently uses a local buffer to minimize calls to the
writefunction. - Includes support for custom conversion specifiers
%rand%Rfor reversing and rot13'ing strings.
To use this custom printf implementation in your project, follow these steps:
-
Clone this repository:
git clone https://github.com/Ismail-Taha/printf.git
-
Run : gcc -Wall -Werror -Wextra -pedantic -std=gnu89 *.c