summaryrefslogtreecommitdiff
path: root/ft_putendl_fd.c
diff options
context:
space:
mode:
authoryctct <yctct@yctct.com>2026-02-05 12:18:33 +0100
committeryctct <yctct@yctct.com>2026-02-05 12:18:33 +0100
commit472b8f20c0f74d20dbb434abce10ee86054b9975 (patch)
tree95625c0ba5a7f999c9add7f9bd55bb0f0b4dc173 /ft_putendl_fd.c
parent8403fab94b17bc63bc193037c8777b9074707287 (diff)
Remove testsHEADmain
Diffstat (limited to 'ft_putendl_fd.c')
-rw-r--r--ft_putendl_fd.c23
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);
-}
-*/