sdk-core v2026.11.05
PS2 SDK - core tier (build-critical EE/IOP modules)
Loading...
Searching...
No Matches
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
18#ifndef __IOP_TCPIP_STDLIB_H__
19#define __IOP_TCPIP_STDLIB_H__
20
21#ifdef __cplusplus
22extern "C" {
23#endif
24
25/* atoi - convert string to integer
26 * Implemented as a macro using strtol from sysclib
27 */
28#define atoi(x) strtol(x, NULL, 10)
29
30/* Required for strtol */
31long int strtol(const char *nptr, char **endptr, int base);
32
33#ifdef __cplusplus
34}
35#endif
36
37#endif /* __IOP_TCPIP_STDLIB_H__ */