-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathft_dprintf.c
More file actions
25 lines (22 loc) · 1.09 KB
/
ft_dprintf.c
File metadata and controls
25 lines (22 loc) · 1.09 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* ft_dprintf.c :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: thugo <marvin@42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2017/04/13 18:29:07 by thugo #+# #+# */
/* Updated: 2017/04/13 18:29:25 by thugo ### ########.fr */
/* */
/* ************************************************************************** */
#include "libft.h"
#include "ft_printf.h"
int ft_dprintf(int fd, const char *format, ...)
{
int retval;
va_list ap;
va_start(ap, format);
retval = ft_vdprintf(fd, format, &ap);
va_end(ap);
return (retval);
}