-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathft_printf.h
More file actions
30 lines (26 loc) · 1.39 KB
/
ft_printf.h
File metadata and controls
30 lines (26 loc) · 1.39 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
/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* ft_printf.h :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: andcardo <andcardo@student.42lisboa.com> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2025/07/19 16:00:06 by andcardo #+# #+# */
/* Updated: 2025/07/26 20:36:09 by andcardo ### ########.fr */
/* */
/* ************************************************************************** */
#ifndef FT_PRINTF_H
# define FT_PRINTF_H
# include <stdio.h>
# include <unistd.h>
# include <stdarg.h>
# include <stddef.h>
int ft_printf(const char *format, ...);
char *ft_strchr(const char *s, int c);
void ft_putchar(char c, size_t *char_count);
void ft_putstr(char *s, size_t *char_count);
void ft_putnbr(int nbr, size_t *char_count);
void ft_putunbr(unsigned int unbr, size_t *char_count);
void ft_puthex(unsigned long int nbr, size_t *char_count, char base_format);
void ft_putphex(void *address, size_t *char_count);
#endif