|
楼主 |
发表于 2013-6-23 21:31:51
|
显示全部楼层
本帖最后由 diameter 于 2013-6-23 21:43 编辑
内建头文件/函数列表 新添加的函数以粗体标注 stdio.h int sprintf(char *, char *,...); | | | | | FILE *fopen(char *, char *); | FILE *freopen(char *, char *, FILE *); | | int fread(void *, int, int, FILE *); | int fwrite(void *, int, int, FILE *); | | | char *fgets(char *, int, FILE *); | | int fputs(char *, FILE *); | | | int fseek(FILE *, int, int); |
stdlib.h float atof(char *); | | | int strtol(char *,char **,int); | | | void *realloc(void *,int); | | | | | | | | |
string.h void *memcpy(void *,void *,int);
| void *memmove(void *,void *,int); | void *memchr(char *,int,int); | int memcmp(void *,void *,int); | void *memset(void *,int,int); | char *strcat(char *,char *); | char *strncat(char *,char *,int); | char *strchr(char *,int); | char *strrchr(char *,int); | int strcmp(char *,char *); | int strncmp(char *,char *,int); | char *strcpy(char *,char *); | char *strncpy(char *,char *,int); |
ctype.h math.h os.h int is_incolor(); | void setpixel(int x,int y,int color); | int getpixel(int x,int y); | void setpixelbuf(unsigned char*scrbuf,int x,int y,int color); | int getpixelbuf(unsigned char*scrbuf,int x,int y); | | | | | unsigned char * get_scr_base_addr(); | | int msgbox (char*title,char*msg); | int msgbox2b(char*title,char*msg,char*button1,char*button2); | int msgbox3b(char*title,char*msg,char*button1,char*button2,char*button3); | | int usr_input(char*title,char*subtitle,char*default,char**value); | int num_input1(char*title,char*subtitle,char*msg,int*value_ref,int min,int max); | int num_input2(char*title,char*subtitle,char*msg1,int*value_ref1,int min1,int max 2,char* msg2,int*value_ref2,int min2,int max2); | void putstr(int x,int y,char*str,int color_fg,int_color_bg); | void write_graph(int x,int y,int width,int height,unsigned char* image,int color_fg,int color_bg); | void write_graph_buf(unsigned char*scrbuf,int x,int y,int width,int height,unsigned char* image,int color_fg,int color_bg); |
|
|