aboutsummaryrefslogtreecommitdiff
path: root/convert_percent.c
diff options
context:
space:
mode:
Diffstat (limited to 'convert_percent.c')
-rw-r--r--convert_percent.c16
1 files changed, 15 insertions, 1 deletions
diff --git a/convert_percent.c b/convert_percent.c
index 4b28f8d..0833748 100644
--- a/convert_percent.c
+++ b/convert_percent.c
@@ -1,11 +1,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 = ft_strdup("%");
+ char *str;
(void)ap;
+ str = ft_strdup("%");
str = handle_padding(pformat, str);
return (str);
}