
C語言函數(shù)大全 s
函數(shù)名: sbrk 功 能: 改變數(shù)據(jù)段空間位置 用 法: char *sbrk(int incr); 程序例: #include <stdio.h> #include <alloc.h> i...
函數(shù)名: sbrk 功 能: 改變數(shù)據(jù)段空間位置 用 法: char *sbrk(int incr); 程序例: #include <stdio.h> #include <alloc.h> i...
函數(shù)名: gcvt 功 能: 把浮點(diǎn)數(shù)轉(zhuǎn)換成字符串 用 法: char *gcvt(double value, int ndigit, char *buf); 程序例: #include <stdlib.h&g...
函數(shù)名: raise 功 能: 向正在執(zhí)行的程序發(fā)送一個(gè)信號(hào) 用 法: int raise(int sig); 程序例: #include <signal.h> int main(void) { &nbs...
函數(shù)名: qsort 功 能: 使用快速排序例程進(jìn)行排序 用 法: void qsort(void *base, int nelem, int width, int (*fcmp)()); 程序例: #include...
函數(shù)名: fabs 功 能: 返回浮點(diǎn)數(shù)的絕對(duì)值 用 法: double fabs(double x); 程序例: #include <stdio.h> #include <math.h> i...
函數(shù)名: parsfnm 功 能: 分析文件名 用 法: char *parsfnm (char *cmdline, struct fcb *fcbptr, int option); 程序例: #include &l...
函數(shù)名: ecvt 功 能: 把一個(gè)浮點(diǎn)數(shù)轉(zhuǎn)換為字符串 用 法: char ecvt(double value, int ndigit, int *decpt, int *sign); 程序例: #include &...
函數(shù)名: delay 功 能: 將程序的執(zhí)行暫停一段時(shí)間(毫秒) 用 法: void delay...
函數(shù)名: wherex 功 能: 返回窗口內(nèi)水平光標(biāo)位置 用 法: int wherex(void); 程序例: #include <conio.h> int main(void) { &nb...
函數(shù)名: open 功 能: 打開一個(gè)文件用于讀或?qū)?用 法: int open(char *pathname, int access[, int permiss]); 程序例: #include <strin...