42sh 1.0.0
Create a shell in C
|
The file containing the my_putstr_fd_free function. More...
#include "my.h"
Functions | |
int | my_putstr_fd_free (char *str, int fd) |
Writes a string (str) in a file descriptor (fd), free it and returns the length of the printed string. | |
The file containing the my_putstr_fd_free function.
int my_putstr_fd_free | ( | char * | str, |
int | fd ) |
Writes a string (str) in a file descriptor (fd), free it and returns the length of the printed string.
str | The string to print |
fd | The file descriptor to write in |