Skip to content
This repository has been archived by the owner on Oct 13, 2019. It is now read-only.

Commit

Permalink
Update libc.c
Browse files Browse the repository at this point in the history
  • Loading branch information
CTurt committed Mar 30, 2017
1 parent 8e429a9 commit 4854bb6
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions libPS4/source/libc.c
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@ size_t (*fwrite)(const void * ptr, size_t size, size_t count, FILE *stream );
int (*fseek)(FILE *stream, long int offset, int origin);
long int(*ftell)(FILE *stream);
int (*fclose)(FILE *stream);
int (*fprintf)(FILE *stream, const char *format, ...);

void initLibc(void) {
int libc = sceKernelLoadStartModule("libSceLibcInternal.sprx", 0, NULL, 0, 0, 0);
Expand Down Expand Up @@ -108,4 +109,5 @@ void initLibc(void) {
RESOLVE(libc, fseek);
RESOLVE(libc, ftell);
RESOLVE(libc, fclose);
RESOLVE(libc, fprintf);
}

0 comments on commit 4854bb6

Please sign in to comment.