Line | Branch | Exec | Source |
---|---|---|---|
1 | /* | ||
2 | ** EPITECH PROJECT, 2023 | ||
3 | ** my_putchar | ||
4 | ** File description: | ||
5 | ** Prints a char (c) in the stdout | ||
6 | */ | ||
7 | /** | ||
8 | * @file my_putchar.c | ||
9 | * @brief The file containing the my_putchar function | ||
10 | * @author Nicolas TORO | ||
11 | */ | ||
12 | |||
13 | #include "my.h" | ||
14 | |||
15 | 6048 | void my_putchar(char c) | |
16 | { | ||
17 | 6048 | write(1, &c, 1); | |
18 | 6048 | } | |
19 |