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,19 +6,13 @@
|
|||
/* By: rparodi <marvin@42.fr> +#+ +:+ +#+ */
|
||||
/* +#+#+#+#+#+ +#+ */
|
||||
/* Created: 2023/11/09 13:58:46 by rparodi #+# #+# */
|
||||
/* Updated: 2025/09/01 17:48:07 by rparodi ### ########.fr */
|
||||
/* Updated: 2025/09/05 16:23:43 by rparodi ### ########.fr */
|
||||
/* */
|
||||
/* ************************************************************************** */
|
||||
|
||||
#include "str.h"
|
||||
#include <unistd.h>
|
||||
|
||||
/**
|
||||
* @brief print a string on a file descriptor
|
||||
*
|
||||
* @param s the string to print
|
||||
* @param fd the file descriptor
|
||||
*/
|
||||
void ft_putstr_fd(char *s, int fd)
|
||||
{
|
||||
write(fd, s, ft_strlen(s));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue