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:
parent
ed64bd73d6
commit
701ce57f84
6 changed files with 48 additions and 43 deletions
|
|
@ -6,18 +6,12 @@
|
|||
/* By: rparodi <marvin@42.fr> +#+ +:+ +#+ */
|
||||
/* +#+#+#+#+#+ +#+ */
|
||||
/* Created: 2023/11/09 13:58:22 by rparodi #+# #+# */
|
||||
/* Updated: 2025/09/01 17:46:44 by rparodi ### ########.fr */
|
||||
/* Updated: 2025/09/05 16:23:43 by rparodi ### ########.fr */
|
||||
/* */
|
||||
/* ************************************************************************** */
|
||||
|
||||
#include <unistd.h>
|
||||
|
||||
/**
|
||||
* @brief print an character on a file descriptor
|
||||
*
|
||||
* @param c the character to print
|
||||
* @param fd the file descriptor
|
||||
*/
|
||||
void ft_putchar_fd(char c, int fd)
|
||||
{
|
||||
write(fd, &c, 1);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue