Skip to content

Commit be83690

Browse files
committed
header file added
1 parent d6bd6f0 commit be83690

File tree

1 file changed

+24
-0
lines changed

1 file changed

+24
-0
lines changed

0x18-dynamic_libraries/main.h

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
#ifndef MAIN_H
2+
#define MAIN_H
3+
4+
int _putchar(char c);
5+
int _islower(int c);
6+
int _isalpha(int c);
7+
int _abs(int n);
8+
int _isupper(int c);
9+
int _isdigit(int c);
10+
int _strlen(char *s);
11+
void _puts(char *s);
12+
char *_strcpy(char *dest, char *src);
13+
int _atoi(char *s);
14+
char *_strcat(char *dest, char *src);
15+
char *_strncat(char *dest, char *src, int n);
16+
char *_strncpy(char *dest, char *src, int n);
17+
int _strcmp(char *s1, char *s2);
18+
char *_memset(char *s, char b, unsigned int n);
19+
char *_memcpy(char *dest, char *src, unsigned int n);
20+
char *_strchr(char *s, char c);
21+
unsigned int _strspn(char *s, char *accept);
22+
char *_strpbrk(char *s, char *accept);
23+
char *_strstr(char *haystack, char *needle);
24+
#endif /* MAIN_H */

0 commit comments

Comments
 (0)