aboutsummaryrefslogtreecommitdiff
path: root/convert_percent.c
diff options
context:
space:
mode:
Diffstat (limited to 'convert_percent.c')
-rw-r--r--convert_percent.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/convert_percent.c b/convert_percent.c
new file mode 100644
index 0000000..2b15340
--- /dev/null
+++ b/convert_percent.c
@@ -0,0 +1,10 @@
+#include <stdarg.h>
+#include "header.h"
+
+char *convert_percent(va_list ap, t_pformat *pformat)
+{
+ char *str = ft_strdup("%");
+
+ str = handle_padding(pformat, str);
+ return (str);
+}