-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathlibfts.h
33 lines (30 loc) · 1003 Bytes
/
libfts.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
#ifndef _LIBFTS
# define _LIBFTS
#include <stddef.h>
int ft_isascii(int c);
int ft_isdigit(int c);
int ft_isupper(int c);
int ft_islower(int c);
int ft_isalpha(int c);
int ft_isalnum(int c);
int ft_isprint(int c);
int ft_strlen(char *str);
void ft_puts(char *str);
void *ft_memcpy(void *restrict dst, const void *restrict src, size_t n);
int ft_toupper(int c);
int ft_tolower(int c);
char *ft_strcat(char *restrict s1, const char *restrict s2);
int ft_pow(int x, int y);
char *ft_strdup(const char *s);
int ft_abs(int x);
void *ft_memset(void *s, int c, size_t n);
void ft_bzero(void *s, size_t n);
int ft_rand(void);
void ft_swap(int *a, int *b);
unsigned int ft_collatz(int n);
void *ft_memchr(const void *s, int c, size_t n);
int ft_strncmp(const char *s1, const char *s2, size_t n);
int ft_atoi(const char *str);
unsigned long ft_align(const unsigned long size, unsigned long mask);
void ft_cat(const int fd);
#endif