cabs - 複數絕對值
#include <complex.h>
double cabs(double complex z);
// C99 標準複數支援;舊版 Borland 需自定 struct complex
calloc - 零初始化動態記憶體配置
void *calloc(size_t nmemb, size_t size);
// 配置 nmemb * size 位元組並歸零;失敗回傳 NULL
// 配對 free() 釋放
ceil / floor - 向上/向下取整
double ceil(double x); // 向上取整
double floor(double x); // 向下取整
// 回傳 double 而非 int,大數值時避免溢位
cgets - 主控台讀取字串(非標準)
char *cgets(char *buffer);
// buffer[0] = 最大長度;回傳 buffer+2 起始字串
// 僅限 Borland/MS-DOS,現代請用 fgets
chdir - 變更目前工作目錄
int chdir(const char *path);
// 成功 0,失敗 -1 (errno: ENOENT, EACCES...)
chmod / _chmod - 變更檔案權限
int chmod(const char *path, int mode);
// mode: S_IREAD, S_IWRITE, S_IEXEC 組合
// Windows 僅支援讀/寫/唯讀,無執行權限概念
chsize - 截斷/擴充檔案大小
int chsize(int handle, long size);
// 低層控制代碼版本;標準 C 請用 ftruncate (POSIX) 或 _chsize_s (MSVC)
circle / cleardevice / clearerr / clearviewport - BGI 圖形與串流
void far circle(int x, int y, int radius);
void far cleardevice(void);
void clearerr(FILE *stream);
void far clearviewport(void);
// clearerr 為 ANSI C 標準,其餘為 Borland BGI 專用
close / _close - 關閉檔案控制代碼
int close(int handle);
// 配合 open/creat;標準 C 使用 fclose(FILE*)
標準化分類總表
| 函數 | 歸屬 | 現代替代 |
| cabs | C99 complex.h | 標準複數運算 |
| calloc, ceil, floor | ANSI C | 標準庫 |
| cgets | Borland/DOS | fgets |
| chdir, chmod | POSIX | 跨平台可用 |
| chsize | DOS/Windows 低層 | ftruncate, _chsize_s |
| circle, cleardevice, clearviewport | Borland BGI | SDL2, Cairo |
| clearerr | ANSI C | 標準串流 |
| close | POSIX 低層 | fclose (FILE*) |