You can then use the return pointer to configure other aspects of the virtual file, such as the function to call when a read is performed on the file.
然后就可以使用这个返回的指针来配置这个虚拟文件的其他参数,例如在对该文件执行读操作时应该调用的函数。
You use the return value to determine which process is which.
您将使用返回值来确定哪个是父进程,哪个是子进程。
You might also use return values from functions with command such as test or while to control branching or looping.
您也可以将函数的返回值和test或while之类的命令结合使用来控制分支和循环。
If we add one to the return, then you've got a number that's never negative and we can then use geometric returns.
然后加上1,你永远也得不到一个负数,然后我们对这个值求几何平均
应用推荐