Corewar documentation 1.0.0
|
The file containing the my_putstr_fd function. More...
#include "my.h"
Functions | |
int | my_putstr_fd (char const *str, int fd) |
Writes a string (str) in a file descriptor (fd) and returns the length of the printed string. | |
The file containing the my_putstr_fd function.
int my_putstr_fd | ( | char const * | str, |
int | fd ) |
Writes a string (str) in a file descriptor (fd) and returns the length of the printed string.
str | The string to print |
fd | The file descriptor to write in |