简要结论先说:Debian 旧版本是支持 opendir() 的,而且很早就开始支持了。
opendir() 是 POSIX 标准 定义的目录操作函数(在 <dirent.h> 中)opendir()opendir() 是 C 库函数copendir(注意拼写)
copendiropendirfdopendir(较新,glibc 2.4+,Debian 4 以后基本都有)#include <dirent.h>
DIR *d = opendir(".");
或:
man opendir
如果你指的是 某个特定 Debian 版本 或 某个非标准函数名(比如 copendir / clonedir),可以告诉我具体版本和上下文,我可以更精确地回答。