-
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.41 KB
/
Copy pathft_printf.h
File metadata and controls
30 lines (26 loc) · 1.41 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: shoudek <shoudek@student.42prague.com> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2024/01/16 15:44:39 by shoudek #+# #+# */
/* Updated: 2024/01/23 14:25:23 by shoudek ### ########.fr */
/* */
/* ************************************************************************** */
#ifndef FT_PRINTF_H
# define FT_PRINTF_H
# include <stdarg.h>
# include <stdint.h>
# include <stdio.h>
# include <unistd.h>
int ft_printf(const char *format, ...);
void ft_putstr(char *s, int *ptr_sum);
void ft_putnbr(int n, int *ptr_sum);
void ft_putchar(char c, int *ptr_sum);
void ft_puthex(uintptr_t num, const char *format, int *ptr_sum);
const char *ft_format(const char *format, int *ptr_sum, va_list args);
void ft_putunsnbr(unsigned int n, int *ptr_sum);
void ft_handleptr(uintptr_t num, const char *format, int *ptr_sum);
#endif