Skip to content

Commit a8ee639

Browse files
committed
Added some functions missing from libc.a
1 parent 63a207e commit a8ee639

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

include/libc.a

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,10 @@ struct vfs *_vfs_open_sdcardx(int pclk, int pss, int pdi, int pdo) __fromfile("f
1515
/* filesys/fs9p/fs9p_vfs.c */
1616
struct vfs *_vfs_open_host(void) __fromfile("filesys/fs9p/fs9p_vfs.c");
1717

18+
/* filesys/parallax/parallaxfs_vfs.c */
19+
struct vfs *_vfs_open_parallaxfs(void) __fromfile("filesys/parallax/parallaxfs_vfs.c");
20+
int _mkfs_parallaxfs(void) __fromfile("filesys/parallax/parallaxfs_vfs.c");
21+
1822
/* libc/misc/ctype.c */
1923
int isupper(int c) __fromfile("libc/misc/ctype.c");
2024
int islower(int c) __fromfile("libc/misc/ctype.c");
@@ -71,6 +75,7 @@ int fclose(_FILE *f) __fromfile("libc/stdio/fopen.c");
7175
/* libc/stdio/fseek.c */
7276
int fseek(_FILE *f, long offset, int whence) __fromfile("libc/stdio/fseek.c");
7377
long ftell(_FILE *f) __fromfile("libc/stdio/fseek.c");
78+
void rewind(_FILE *f) __fromfile("libc/stdio/fseek.c");
7479

7580
/* libc/stdio/fwrite.c */
7681
size_t fwrite(const void *ptr, size_t size, size_t n, _FILE *f) __fromfile("libc/stdio/fwrite.c");
@@ -199,6 +204,10 @@ time_t time(time_t *tp) __fromfile("libc/time/time.c");
199204
/* libc/time/usleep.c */
200205
int usleep(unsigned int n) __fromfile("libc/time/usleep.c");
201206

207+
/* libc/unix/exec.c */
208+
int _execve(const char *path, char **args, char **env) __fromfile("libc/unix/exec.c");
209+
int _execl(const char *path, const char *arg0, ...) __fromfile("libc/unix/execl.c");
210+
202211
/* libc/unix/_mount.c */
203212
int chdir(const char *path) __fromfile("libc/unix/mount.c");
204213
char *getcwd(char *buf, size_t siz) __fromfile("libc/unix/mount.c");

0 commit comments

Comments
 (0)