C语言函数大全列表——A开头
函数名:abort
功能: 异常终止一个进程
用法: void abort(void);
程序例:
1.#include <stdio.h>
2.#include <stdlib.h>
3.int main(void)
4.{
5.printf("Calling abort()\n");
6.abort();
7.return 0; /* This is never reached */
8.}
函数名: abs
功能: 求整数的绝对值
用法: int abs(int i);
程序例:
1.#include <stdio.h>
2.#include <math.h>
3.
4.int main(void)
5.{
6.int number = -1234;
7.
8.printf("number: %d absolute value: %d\n", number, abs(num
ber));
9.return 0;
10.}
函数名: absread, abswirte
功能: 绝对磁盘扇区读、写数据
用法: int absread(int drive, int nsects, int sectno, void *buffer);

我要评论