是什么...在C中的参数列表是什么意思? [英] What does ... mean in an argument list in C?
本文介绍了是什么...在C中的参数列表是什么意思?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我碰到下面的函数签名,我想知道这(省略号,或...
)的某种多态性?
I came across the following function signature and I wondered if this (the ellipsis, or "..."
) is some kind of polymorphism?
#include <fcntl.h>
int fcntl(int fd, int cmd, ... );
先谢谢了。
推荐答案
这是一个的可变参数列表。
这篇关于是什么...在C中的参数列表是什么意思?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文