aboutsummaryrefslogtreecommitdiff
path: root/convert_written.c
diff options
context:
space:
mode:
authorCharles <sircharlesaze@gmail.com>2019-10-31 01:45:37 +0100
committerCharles <sircharlesaze@gmail.com>2019-10-31 01:45:37 +0100
commit0f6cd15b0c7ce2d4d0154ae027985ed640cd543f (patch)
treeb30dc09db7e42b1e1e9924995b608ee153daddc5 /convert_written.c
parentd63d6916249f5b40b81097854d8ca2c9d4d7d071 (diff)
downloadft_printf-0f6cd15b0c7ce2d4d0154ae027985ed640cd543f.tar.gz
ft_printf-0f6cd15b0c7ce2d4d0154ae027985ed640cd543f.tar.bz2
ft_printf-0f6cd15b0c7ce2d4d0154ae027985ed640cd543f.zip
Handle 'n' flag
Diffstat (limited to 'convert_written.c')
-rw-r--r--convert_written.c20
1 files changed, 20 insertions, 0 deletions
diff --git a/convert_written.c b/convert_written.c
new file mode 100644
index 0000000..f2cdc2b
--- /dev/null
+++ b/convert_written.c
@@ -0,0 +1,20 @@
+/* ************************************************************************** */
+/* */
+/* ::: :::::::: */
+/* convert_written.c :+: :+: :+: */
+/* +:+ +:+ +:+ */
+/* By: cacharle <marvin@42.fr> +#+ +:+ +#+ */
+/* +#+#+#+#+#+ +#+ */
+/* Created: 2019/10/30 23:38:28 by cacharle #+# #+# */
+/* Updated: 2019/10/30 23:59:05 by cacharle ### ########.fr */
+/* */
+/* ************************************************************************** */
+
+#include <stdarg.h>
+#include "header.h"
+
+char *convert_written(va_list ap, t_pformat *pformat)
+{
+ pformat->written = va_arg(ap, int*);
+ return (NULL);
+}