函数名:abort
功 能: 异常终止一个进程
用 法: void abort(void)
函数名: abs
功 能: 求整数的绝对值
用 法: int abs(int i)
函数名: absread, abswirte
功 能: 绝对磁盘扇区读、写数据
用 法: int absread(int drive, int nsects, int sectno, void *buffer)
int abswrite(int drive, int nsects, in tsectno, void *buffer
函数名: access
功 能: 确定文件的访问权限
一个完整的c语言程序用 法: int access(const char *filename, int amode)
函数名: acos
功 能:反余弦函数
用 法: double acos(double x)
函数名: allocmem
功 能: 分配DOS存储段
用 法:int allocmem(unsigned size, unsigned *seg)
函数名: arc
功 能: 画一弧线
用 法:void far arc(int x, int y, int stangle, int endangle, int radius)
函数名: asctime
功 能: 转换日期和时间为ASCII码
用 法:char *asctime(const struct tm *tblock)
函数名: asin
功 能:反正弦函数
用 法: double asin(double x)
函数名: assert
功 能: 测试一个条件并可能使程序终止
用 法:void assert(int test)
函数名: atan
功 能: 反正切函数
用 法: double atan(double x)
函数名: atan2
功 能: 计算Y/X的反正切值
用 法: double atan2(double y, double x)
函数名:atexit
功 能: 注册终止函数
用 法: int atexit(atexit_t func)
函数名: atof
功 能: 把字符串转换成浮点数
用 法:double atof(const char *nptr)
函数名: atoi
功 能: 把字符串转换成长整型数
用 法: int atoi(const char *nptr)
函数名: atol
功 能: 把字符串转换成长整型数
用 法: long atol(const char *nptr)
函数名: bar
功 能: 画一个二维条形图
用 法: void far bar(int left, int top, int right, int bottom)
函数名: bar3d
功 能: 画一个三维条形图
用 法:void far bar3d(int left, int top, int right, int bottom,
int depth, int topflag)
函数名: bdos
功 能: DOS系统调用
用 法: int bdos(int dosfun, unsigned dosdx, unsigned dosal)
函数名:bdosptr
功 能:
DOS系统调用
用 法: int bdosptr(int dosfun, void *argument, unsigned dosal)
函数名:bioscom
功 能: 串行I/O通信
用 法:int bioscom(int cmd, char abyte, int port)
函数名:biosdisk
功 能: 软硬盘I/O
用 法:int biosdisk(int cmd, int drive, int head, int track, int sector
int nsects, void *buffer)
函数名:biosequip
功 能: 检查设备
用 法:int biosequip(void)
函数名:bioskey
功 能: 直接使用BIOS服务的键盘接口
用 法:int bioskey(int cmd)
函数名:biosmemory
功 能: 返回存储块大小
用 法:int biosmemory(void)
函数名:biosprint
功 能: 直接使用BIOS服务的打印机I/O
用 法:int biosprint(int cmd, int byte, int port)
函数名:biostime
功 能: 读取或设置BIOS时间
用 法: long biostime(int cmd, long newtime)
函数名: brk
功 能: 改变数据段空间分配
用 法:int brk(void *endds)
函数名:bsearch
功 能: 二分法搜索
用 法:void *bsearch(const void *key, const void *base, size_t *nelem,
size_t width, int(*fcmp)(const void *, const *))
函数名: cabs
功 能: 计算复数的绝对值
用 法: double cabs(struct complex z);
函数名:calloc
功 能:分配主存储器
用 法:void *calloc(size_t nelem, size_t elsize);
函数名: ceil
功 能: 向上舍入
用 法: double ceil(double x);
函数名: cgets
功 能: 从控制台读字符串
用 法: char *cgets(char *str)
函数名:chdir
功 能: 改变工作目录
用 法: int chdir(const char *path);
函数名:_chmod, chmod
功 能: 改变文件的访问方式
用 法: int chmod(const char *filename, int permiss);
函数名:chsize
功 能: 改变文件大小
用 法: int chsize(int handle, long size);
函数名: circle
功 能: 在给定半径以(x, y)为圆心画圆
用 法: void far circle(int x, int y, int radius);
函数名: cleardevice
功 能: 清除图形屏幕
用 法: void far cleardevice(void);
函数名:clearerr
功 能: 复位错误标志
用 法:void clearerr(FILE *stream);
函数名: clearviewport
功 能: 清除图形视区
用 法: void far clearviewport(void);
函数名:_close, close
功 能: 关闭文件句柄
用 法:int close(int handle);
函数名: clock
功 能:确定处理器时间
用 法: clock_t clock(void);
函数名:closegraph
功 能: 关闭图形系统
用 法: void far closegraph(void);
函数名:clreol
功 能: 在文本窗口中清除字符到行末
用 法:void clreol(void)
函数名:clrscr
功 能: 清除文本模式窗口
用 法:void clrscr(void);
函数名: coreleft
功 能: 返回未使用内存的大小
用 法:unsigned coreleft(void);
函数名: cos
功 能: 余弦函数
用 法:double cos(double x);
函数名:cosh
功 能: 双曲余弦函数
用 法: dluble cosh(double x);
函数名: country
功 能: 返回与国家有关的信息
用 法: struct COUNTRY *country(int countrycode, struct country *country);
函数名: cprintf
功 能: 送格式化输出至屏幕
用 法:int cprintf(const char *format[, argument, ...]);
函数名: cputs
功 能: 写字符到屏幕
用 法: void cputs(const char *string);
函数名: _creat creat
功 能: 创建一个新文件或重写一个已存在的文件
用 法: int creat (const char *filename, int permiss)
函数名:creatnew
功 能: 创建一个新文件
用 法:int creatnew(const char *filename, int attrib);
函数名: cscanf
功 能: 从控制台执行格式化输入
用 法:int cscanf(char *format[,argument, ...]);
函数名: ctime
功 能: 把日期和时间转换为字符串
用 法:char *ctime(const time_t *time);
函数名: ctrlbrk
功 能: 设置Ctrl-Break处理程序
用 法: void ctrlbrk(*fptr)(void);
函数名: delay
功 能: 将程序的执行暂停一段时间(毫秒)
用 法: void delay(unsigned milliseconds);
函数名: delline
功 能: 在文本窗口中删去一行
用 法: void delline(void);
函数名:detectgraph
功 能: 通过检测硬件确定图形驱动程序和模式
用 法: void far detectgraph(int far *graphdriver, int far *graphmode);
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系QQ:729038198,我们将在24小时内删除。
发表评论