零函数就是f(x)=0,非零函数是指在定义域内函数值不总是0的函数
如果函数成功,则返回值非零。
和copy _ to_user一样,该函数在成功时,返回0,否则返回一个非零数,指出不能复制的字节数。
As with copy_to_user, the function returns zero on success and non-zero to indicate a failure to copy some number of bytes.
该函数在成功时,返回 0,否则返回一个非零数,指出不能发送的字节数。
The function returns zero on success or non-zero to indicate the number of bytes that weren't transferred.
应用推荐