-
Notifications
You must be signed in to change notification settings - Fork 0
/
libft.h
84 lines (75 loc) · 3.22 KB
/
libft.h
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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* libft.h :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: rphuyal <rphuyal@student.42lisboa.com> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2022/11/02 16:15:19 by rphuyal #+# #+# */
/* Updated: 2022/12/10 21:20:48 by rphuyal ### ########.fr */
/* */
/* ************************************************************************** */
#ifndef LIBFT_H
# define LIBFT_H
# include <stdlib.h>
# include <unistd.h>
# include <stdio.h>
# include <limits.h>
/*
structure for nodes to contain a content pointer
an a link to the next node
*/
typedef struct s_list
{
void *content;
struct s_list *next;
} t_list;
/* functions that handel individual chars*/
int ft_isalnum(int c);
int ft_isalpha(int c);
int ft_isascii(int c);
int ft_isdigit(int c);
int ft_isprint(int c);
int ft_toupper(int ch);
int ft_tolower(int ch);
/* functions that puts number, chars, or strings in a given fd*/