diff options
| author | Charles <sircharlesaze@gmail.com> | 2019-10-08 18:33:20 +0200 |
|---|---|---|
| committer | Charles <sircharlesaze@gmail.com> | 2019-10-08 18:33:20 +0200 |
| commit | f723389e5143c9ee0bc3d9774bb523b1c752b74c (patch) | |
| tree | 3ef33b7024c9e6c0680ddce684dcc5a5b13bbca1 /libft.h | |
| parent | 4e2e8aac225f2a226573ae36e5327a8c4073bbbc (diff) | |
| download | libft-f723389e5143c9ee0bc3d9774bb523b1c752b74c.tar.gz libft-f723389e5143c9ee0bc3d9774bb523b1c752b74c.tar.bz2 libft-f723389e5143c9ee0bc3d9774bb523b1c752b74c.zip | |
Fix ft_memmove and calloc
- memmove doesnt depend on a buffer size
- calloc return NULL if count or size == 0
- added byte type
Diffstat (limited to 'libft.h')
| -rw-r--r-- | libft.h | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -18,6 +18,8 @@ # define TRUE 1 # define FALSE 0 +typedef unsigned char t_byte; + typedef struct s_list { void *content; |
