docs: Adding the doxygen on all my function

This commit is contained in:
Raphael 2024-10-31 18:16:00 +01:00
parent 707e9a4177
commit f5bcbeac3c
38 changed files with 342 additions and 43 deletions

View file

@ -6,7 +6,7 @@
/* By: rparodi <marvin@42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2023/11/14 17:27:44 by rparodi #+# #+# */
/* Updated: 2024/10/31 16:12:37 by rparodi ### ########.fr */
/* Updated: 2024/10/31 18:01:28 by rparodi ### ########.fr */
/* */
/* ************************************************************************** */
@ -43,6 +43,13 @@ int _check_args(int fd, char c, va_list args, int *ret_value)
return (1);
}
/**
* @brief Print on a file descriptor
*
* @param fd the file descriptor
* @param s the string
* @return the number of character printable
*/
int ft_dprintf(int fd, const char *s, ...)
{
size_t i;
@ -69,6 +76,12 @@ int ft_dprintf(int fd, const char *s, ...)
return (ret_value);
}
/**
* @brief Print on the standard output
*
* @param s the string
* @return the number of character printable
*/
int ft_printf(const char *s, ...)
{
size_t i;