#include "libft.h"
#include <stddef.h>
#include <unistd.h>
Go to the source code of this file.
|
int | ft_printf (const char *str,...) |
| Works similarly as printf without handling size format.
|
|
int | ft_dprintf (int fd, const char *str,...) |
| Works similarly as printf without handling size format.
|
|
◆ ft_dprintf()
int ft_dprintf |
( |
int | fd, |
|
|
const char * | str, |
|
|
| ... ) |
Works similarly as printf without handling size format.
- Parameters
-
fd | File descriptor |
str | String to be printed |
... | Variadic arguments |
- Returns
- int Returns the number of characters printed or -1 if error
◆ ft_printf()
int ft_printf |
( |
const char * | str, |
|
|
| ... ) |
Works similarly as printf without handling size format.
- Parameters
-
str | String to be printed |
... | Variadic arguments |
- Returns
- int Returns the number of characters printed or -1 if error