aboutsummaryrefslogtreecommitdiff
path: root/libasm_test.h
diff options
context:
space:
mode:
Diffstat (limited to 'libasm_test.h')
-rw-r--r--libasm_test.h12
1 files changed, 8 insertions, 4 deletions
diff --git a/libasm_test.h b/libasm_test.h
index 675c5ad..8be0b68 100644
--- a/libasm_test.h
+++ b/libasm_test.h
@@ -13,21 +13,25 @@
# define TO_STRING(x) #x
+# ifdef __linux__
+# define OPEN_MAX FOPEN_MAX
+# endif
+
/*
* mandatory
*/
int
ft_strlen(char *str);
-char
-*ft_strcpy(char *dst, const char *src);
+char*
+ft_strcpy(char *dst, const char *src);
int
ft_strcmp(const char *s1, const char *s2);
int
ft_write(int fildes, const void *buf, size_t buf_size);
int
ft_read(int fildes, void *buf, size_t buf_size);
-char
-*ft_strdup(const char *str);
+char*
+ft_strdup(const char *str);
/*
* bonus