too few arguments 什么意思

来源:学生作业帮助网 编辑:作业帮 时间:2024/05/07 19:12:47
too  few arguments 什么意思

too few arguments 什么意思
too few arguments 什么意思

too few arguments 什么意思
太少的参量
在linux2.6.5中,create_sock有5个参数,在linux2.6.4中只有4个,也就是这样的
在linux2.6.5中create_sock的定义为:
sock_create(int family,int type,int protocol,struct socket **res,int kern)
在linux2.6.4中create_sock的定义为:
sock_create(int family,int type,int proto,struct socket **res);
内核版本的差别很小,可是这个函数的差别很大

很少争议。。。
供参考~~~~~~~

参数太少,是不是你编程的时候用函数但没有给足足够的参数?