diff options
Diffstat (limited to 'ft_putendl_fd.c')
| -rw-r--r-- | ft_putendl_fd.c | 23 |
1 files changed, 0 insertions, 23 deletions
diff --git a/ft_putendl_fd.c b/ft_putendl_fd.c index ab92f63..487cfd7 100644 --- a/ft_putendl_fd.c +++ b/ft_putendl_fd.c @@ -22,26 +22,3 @@ void ft_putendl_fd(char *s, int fd) ft_putstr_fd(s, fd); ft_putstr_fd("\n", fd); } -/* -#include <fcntl.h> -#include <stdio.h> -#include <sys/stat.h> -#include <sys/types.h> - -int main(void) -{ - int fd; - - if ((fd = open("write.txt", O_RDWR)) == -1) - { - printf("File Open Failed\n"); - exit(0); - } - else - { - printf("File Opened Successfully\n"); - printf("File Descriptor: %d\n", fd); - } - ft_putendl_fd("abc", fd); -} -*/ |
