blob: 08337484b8bf1d4370b1e1d04e2530a5ce5524a6 (
plain)
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
|
/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* convert_percent.c :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: cacharle <marvin@42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2019/10/30 23:23:27 by cacharle #+# #+# */
/* Updated: 2019/10/30 23:23:56 by cacharle ### ########.fr */
/* */
/* ************************************************************************** */
#include <stdarg.h>
#include "libft.h"
#include "header.h"
char *convert_percent(va_list ap, t_pformat *pformat)
{
char *str;
(void)ap;
str = ft_strdup("%");
str = handle_padding(pformat, str);
return (str);
}
|