-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathlibft.h
More file actions
37 lines (32 loc) · 1.59 KB
/
Copy pathlibft.h
File metadata and controls
37 lines (32 loc) · 1.59 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
37
/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* libft.h :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: cado-car <cado-car@student.42sp.org.br> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2021/08/10 23:54:41 by cado-car #+# #+# */
/* Updated: 2021/08/20 12:22:03 by cado-car ### ########lyon.fr */
/* */
/* ************************************************************************** */
#ifndef LIBFT_H
# define LIBFT_H
# include <unistd.h>
# include <stdlib.h>
// Original libft functions
size_t ft_strlen(const char *s);
char *ft_strchr(const char *s, int c);
void *ft_memcpy(void *dst, const void *src, size_t n);
char *ft_strdup(const char *s1);
size_t ft_strlcpy(char *dst, const char *src, size_t dstsize);
char *ft_strjoin(char const *s1, char const *s2);
int ft_isdigit(int c);
int ft_isascii(int c);
int ft_isprint(int c);
void *ft_memset(void *s, int c, size_t n);
size_t ft_strlcat(char *dst, const char *src, size_t dstsize);
// New libft functions
char *ft_uitoa_base(unsigned long nbr, char *base);
char *ft_appendchr(char const *s, char const c);
char *ft_strndup(const char *s1, size_t n);
#endif