⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 stdlib.h

📁 dragon ball vz328 上的一个例子程序。 用于做手持仪表用。
💻 H
字号:
/************************************************************************
    Standard library header.

    size_t	unsigned integral type of the result of sizeof
    wchar_t	integral type which can represent all characters in any
		    supported extended character set

    NULL	a null pointer constant

    RAND_MAX	maximum value returned by the rand function
************************************************************************/
#ifndef __STDLIB
#define __STDLIB

#if __cplusplus
extern "C" {
#endif

#ifndef __SIZE_T
#define __SIZE_T
#if _INTBITS
    typedef _size_t		size_t;
#else
    typedef unsigned int	size_t;
#endif
#endif

#ifndef __WCHAR_T
#define __WCHAR_T
typedef char		wchar_t;
#endif

typedef struct { int  rem; int  quot; }  div_t;
typedef struct { long rem; long quot; } ldiv_t;

#if __cplusplus
# define NULL 0
#else
# define NULL (void *)0
#endif

#define EXIT_FAILURE	1
#define EXIT_SUCCESS	0
#define RAND_MAX	32767
#define MB_CUR_MAX	1

/************************************************************************
    For K&R compatibility don't always extern these with prototypes.
************************************************************************/
#if _INTBITS || __cplusplus || _ALLEXTERNS

double atof( const char * );
int atoi( const char * );
long atol( const char * );
double strtod( const char *, char ** );
long strtol( const char *, char **, int );
unsigned long strtoul( const char *, char **, int );
int rand( void );
void srand( unsigned );
void *calloc( size_t, size_t );
void free( void * );
void *malloc( size_t );
void *realloc( void *, size_t );
void abort( void );					/* NOT PROVIDED */
int atexit( void(*)(void) );				/* NOT PROVIDED */
void exit( int );					/* NOT PROVIDED */
char *getenv( const char * );				/* NOT PROVIDED */
int system( const char * );				/* NOT PROVIDED */
void *bsearch( const void *, const void *, size_t, size_t,
    int (*)(const void*, const void*) );
void qsort( void *, size_t, size_t, int (*)(const void*, const void*) );
int abs( int );
div_t div( int, int );
long labs( long );
ldiv_t ldiv( long, long );
int mblen( const char *, size_t );			/* NOT PROVIDED */
int mbtowc( wchar_t *, const char *, size_t );		/* NOT PROVIDED */
int wctomb( char *, wchar_t );				/* NOT PROVIDED */
size_t mbstowcs( wchar_t *, const char *, size_t );	/* NOT PROVIDED */
size_t wcstombs( char *, const wchar_t *, size_t );	/* NOT PROVIDED */

#else

double atof();
int atoi();
long atol();
double strtod();
long strtol();
unsigned long strtoul();
int rand();
void srand();
void qsort();
int abs();
long labs();

#endif

#if __cplusplus
}
#endif

#endif

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -