C语言函数大全doc
函数名: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
功 能: 确定文件的访问权限
用 法: 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