-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathft_printf.h
More file actions
36 lines (32 loc) · 1.61 KB
/
ft_printf.h
File metadata and controls
36 lines (32 loc) · 1.61 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* ft_printf.h :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: ekamada <ekamada@student.42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2023/06/04 22:28:00 by ekamada #+# #+# */
/* Updated: 2023/06/09 15:24:05 by ekamada ### ########.fr */
/* */
/* ************************************************************************** */
#ifndef FT_PRINTF_H
# define FT_PRINTF_H
# include <stdio.h>
# include <stdint.h>
# include <stdarg.h>
# include <unistd.h>
# include <stdlib.h>
int ft_printf(const char *format, ...);
void ft_conversions(char const **format, va_list args, int *printlen);
void ft_print_di(int num, int *printlen);
void ft_print_p(unsigned long long num, int *printlen);
void ft_print_s(char *s, int *printlen);
void ft_print_x(unsigned int num, int *printlen);
void ft_print_u(unsigned int num, int *printlen);
void ft_print_c(int c, int *printlen);
void ft_print_larx(unsigned int num, int *printlen);
char *ft_itoa(int n);
char *ft_strchr(const char *s, int c);
size_t ft_strlcpy(char *dst, const char *src, size_t dstsize);
size_t ft_strlen(const char *str);
#endif