... 指针表达式与指针算法(Pointer s And Pointer Arithmetic) 指针与函数(Point And Function) 传值与传址(Call by Value And Call by Reference) ...
基于12个网页-相关网页
清单 4 中所示的结构由 mimeokay 函数使用,用来实现以下用途:将全局字符串指针 fstr 设置为与文件扩展名 fext 相匹配的合适的 MIME 类型。
The structure in Listing 4 is used by the mimeokay function for one purpose: to set the global string pointer fstr to the appropriate MIME type string matching the file's extension: fext.
与之相反的是,real_fchmod是一个由setup_ wrappers填充的函数指针。
By contrast, real_fchmod is a function pointer, which is populated by setup_wrappers .
当我们开始与库交流时,我们调用一个名为 newsession 的函数,它会返回一个空指针(这是组织事情的惯用方法)。
When we start talking to the library about something, we call a function called newsession that returns a void pointer (not an unusual way to organize things).
应用推荐