?? ican_stdlib.h
字號:
/*--------------------------------------------------------------------------
STDLIB.H
Standard functions for ARM CA Version 1.
Copyright (c) 1995-2004 Keil Elektronik GmbH and Keil Software, Inc.
All rights reserved.
--------------------------------------------------------------------------*/
#ifndef __STDLIB_H__
#define __STDLIB_H__
#ifdef __cplusplus
extern "C" {
#endif
#ifndef __SIZE_T__
#define __SIZE_T__
typedef unsigned int size_t;
#endif
#ifndef NULL
#define NULL ((void *) 0L)
#endif
#ifndef _WCHAR_T_DEFINED_
#define _WCHAR_T_DEFINED_
typedef char wchar_t;
#endif
#ifndef RAND_MAX
#define RAND_MAX 32767u
#endif
#ifndef __DIV_T
typedef struct _div_t {
int rem;
int quot;
} div_t;
typedef struct _ldiv_t {
long rem;
long quot;
} ldiv_t;
#define __DIV_T
#endif
extern int abs (int val);
extern long labs (long val);
extern double strtod (const char *str, char **ptr);
extern long strtol (const char *str, char **ptr, int base);
extern unsigned long strtoul (const char *str, char **ptr, int base);
extern div_t div (int x, int y);
extern ldiv_t ldiv (long x, long y);
extern double atof (const char *s1);
extern long atol (const unsigned char *s1);
extern int atoi (const unsigned char *s1);
extern int rand (void);
extern void srand (unsigned int seed);
extern void *malloc (unsigned int size);
extern void free (void *p);
extern void init_mempool (void *p, unsigned int size);
extern void *realloc (void *p, unsigned int size);
extern void *calloc (unsigned int size, unsigned int len);
#ifdef __cplusplus
}
#endif
#endif
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -