Skip to content

Commit d07bd0e

Browse files
committed
Add more missing libc.a functions
1 parent 356fadc commit d07bd0e

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

include/libc.a

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -144,6 +144,9 @@ void *memmove(void *dest_p, const void *src_p, size_t n) __fromfile("libc/string
144144
/* libc/string/memset.c */
145145
void *memset(void *dest_p, int c, size_t n) __fromfile("libc/string/memset.c");
146146

147+
/* libc/string/strcat.c */
148+
char *strcat(char *dest, const char *src) __fromfile("libc/string/strcat.c");
149+
147150
/* libc/string/strchr.c */
148151
char *strchr(const char *s, int charwanted) __fromfile("libc/string/strchr.c");
149152

@@ -239,6 +242,10 @@ int write(int fd, const void *buf, int count) __fromfile("libc/unix/posixio.c");
239242
int read(int fd, void *buf, int count) __fromfile("libc/unix/posixio.c");
240243
int close(int fd) __fromfile("libc/unix/posixio.c");
241244
off_t lseek(int fd, off_t offset, int whence) __fromfile("libc/unix/posixio.c");
245+
int rmdir(const char *path) __fromfile("libc/unix/posixio.c");
246+
int mkdir(const char *path, int mode) __fromfile("libc/unix/posixio.c");
247+
248+
/* libc/unix/access.c */
242249
int access(const char *path, int mode) __fromfile("libc/unix/access.c");
243250

244251
/* libc/wchar/btowc.c */

0 commit comments

Comments
 (0)