42 lines
1.1 KiB
C
42 lines
1.1 KiB
C
/* ************************************************************************** */
|
|
/* */
|
|
/* ::: :::::::: */
|
|
/* libftprintf.h :+: :+: :+: */
|
|
/* +:+ +:+ +:+ */
|
|
/* By: tmaze <tmaze@student.42.fr> +#+ +:+ +#+ */
|
|
/* +#+#+#+#+#+ +#+ */
|
|
/* Created: 2019/02/07 13:03:44 by tmaze #+# #+# */
|
|
/* Updated: 2019/02/07 13:12:20 by tmaze ### ########.fr */
|
|
/* */
|
|
/* ************************************************************************** */
|
|
|
|
#ifndef LIBFTPRINTF_H
|
|
# define LIBFTPRINTF_H
|
|
|
|
# include <unistd.h>
|
|
# include <stdarg.h>
|
|
|
|
typedef struct s_flags
|
|
{
|
|
enum e_convtype
|
|
{
|
|
c,
|
|
s,
|
|
p,
|
|
d,
|
|
i,
|
|
o,
|
|
u,
|
|
x,
|
|
X,
|
|
f
|
|
} convtype;
|
|
char minus;
|
|
char sign;
|
|
int width;
|
|
int precision;
|
|
|
|
}
|
|
|
|
#endif
|