2022-04-13 08:01:46 +02:00
|
|
|
/* ************************************************************************** */
|
|
|
|
|
/* */
|
|
|
|
|
/* ::: :::::::: */
|
2022-04-29 15:18:54 +02:00
|
|
|
/* ft_va_other.c :+: :+: :+: */
|
2022-04-13 08:01:46 +02:00
|
|
|
/* +:+ +:+ +:+ */
|
|
|
|
|
/* By: gbaconni@student.42lausanne.ch +#+ +:+ +#+ */
|
|
|
|
|
/* +#+#+#+#+#+ +#+ */
|
|
|
|
|
/* Created: 2022/01/20 12:58:03 by gbaconni #+# #+# */
|
2022-04-29 15:18:54 +02:00
|
|
|
/* Updated: 2022/04/29 14:35:25 by gbaconni ### ########.fr */
|
2022-04-13 08:01:46 +02:00
|
|
|
/* */
|
|
|
|
|
/* ************************************************************************** */
|
|
|
|
|
|
|
|
|
|
#include "libftprintf.h"
|
|
|
|
|
|
2022-04-29 15:18:54 +02:00
|
|
|
int ft_va_other(const char *format, va_list ap)
|
2022-04-13 08:01:46 +02:00
|
|
|
{
|
2022-04-24 00:40:01 +02:00
|
|
|
int ret;
|
|
|
|
|
char c;
|
2022-04-13 08:01:46 +02:00
|
|
|
|
|
|
|
|
(void) ap;
|
2022-04-24 00:40:01 +02:00
|
|
|
c = *format;
|
|
|
|
|
ret = ft_putchar(c);
|
2022-04-13 08:01:46 +02:00
|
|
|
return (ret);
|
|
|
|
|
}
|