PS2SDK
PS2 Homebrew Libraries
stdlib.h
Go to the documentation of this file.
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 
17 #ifndef __IOP_TCPIP_STDLIB_H__
18 #define __IOP_TCPIP_STDLIB_H__
19 
20 #ifdef __cplusplus
21 extern "C" {
22 #endif
23 
24 /* atoi - convert string to integer
25  * Implemented as a macro using strtol from sysclib
26  */
27 #define atoi(x) strtol(x, NULL, 10)
28 
29 /* Required for strtol */
30 long int strtol(const char *nptr, char **endptr, int base);
31 
32 #ifdef __cplusplus
33 }
34 #endif
35 
36 #endif /* __IOP_TCPIP_STDLIB_H__ */