-
Notifications
You must be signed in to change notification settings - Fork 0
Utils
Some existing functions in libft have been modified to address specific requirements of this project.
These updates provide additional functionality or control over the output process.
Below are the modified functions and the reasons for their changes.
Similar principles as their original libc
, writes the character c
, but in addition it returns the number of characters written.
Similar principles as their original libc
, outputs the string s
, but in addition it returns the number of characters printed.
Similar principles as their original libc
, prints the integer n
, but in addition it returns the number of characters printed.
Since the original
printf
function returns the number of characters printed, updating the utility functions in libft to include this feature is a simple and efficient way to enhance existing functionality.
This modification allows these utility functions to provide additional control, making them more versatile while maintaining the simplicity of their core behavior.
Previous ⬅️ • Top ⬆️ • Next ➡️