docs(print): moving the actual documentation on the header

- The documentation on the header allow u to see on the files where the
header is inclued
This commit is contained in:
Raphael 2025-09-05 16:29:51 +02:00
parent ed64bd73d6
commit 701ce57f84
No known key found for this signature in database
6 changed files with 48 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: 2025/09/04 11:56:27 by rparodi ### ########.fr */
/* Updated: 2025/09/05 16:23:43 by rparodi ### ########.fr */
/* */
/* ************************************************************************** */
@ -44,13 +44,6 @@ static int _check_args(int fd, char c, va_list args, int *ret)
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;
@ -77,12 +70,6 @@ int ft_dprintf(int fd, const char *s, ...)
return (ret);
}
/**
* @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;