PS2SDK
PS2 Homebrew Libraries
Loading...
Searching...
No Matches
_start.c
1
/*
2
# _____ ___ ____ ___ ____
3
# ____| | ____| | | |____|
4
# | ___| |____ ___| ____| | \ PS2DEV Open Source Project.
5
#-----------------------------------------------------------------------
6
# Copyright 2001-2004, ps2dev - http://www.ps2dev.org
7
# Licenced under Academic Free License version 2.0
8
# Review ps2sdk README & LICENSE files for further details.
9
*/
10
11
#include "irx_imports.h"
12
13
#define MODNAME "System_C_lib"
14
IRX_ID(MODNAME, 1, 1);
15
16
extern
struct
irx_export_table
_exp_sysclib;
17
extern
struct
irx_export_table
_exp_stdio;
18
19
int
_start(
int
argc,
char
*argv[]) {
20
(void)argc;
21
(void)argv;
22
23
if
(RegisterLibraryEntries(&_exp_sysclib) != 0)
24
return
MODULE_NO_RESIDENT_END;
25
if
(RegisterLibraryEntries(&_exp_stdio) != 0)
26
return
MODULE_NO_RESIDENT_END;
27
28
return
MODULE_RESIDENT_END;
29
}
irx_export_table
Definition
irx.h:90
iop
system
sysclib
src
_start.c
Generated on Thu Nov 14 2024 05:25:29 for PS2SDK by
1.9.8