让我们回去充实match子例程。
SIGSYS—参数对于子例程无效。
清单11 . gettimes子例程。
清单12 . getstyle子例程。
sum()子例程是以直接的方式实现的。
清单3显示了程序头文件中的变量声明和子例程调用。
Listing 3 shows the variable declaration and subroutine calls from the program header.
在所有情况下最终的结果都是带有调用接口的子例程。
The end result is, in all cases, a subroutine with a call interface.
当子例程被调用时,该例程正确地接收到了它的参数。
When the subroutine is called, the routine receives its parameters correctly.
顺序单一子例程已借助RDR模块化为多个子例程。
The sequential single subroutine has been modularized to several subroutines with help of RDR.
setup子例程只在启动时运行一次,以便初始化服务器。
The setup subroutine runs just once on startup and initializes the server.
字符串只是在第一次调用时给出,如strtok 子例程。
The string is provided only on the first call, as with the strtok subroutine.
我们已经看到如何使用匿名的子例程或者对指定子例程的引用。
We've already seen how to use an anonymous subroutine or a reference to a named subroutine.
地址到符号名的映射使得Tprof可以按模块和子例程分配节拍。
The address to symbol name mapping allows Tprof to assign ticks by module and subroutine.
如您所预料的,第一个子例程读取XML文件,返回一个引用。
As you might expect, the first reads an XML file, returning a reference.
您还可以使用子例程来绑定线程,尽管我在进行这种工作时会倍加小心。
You can also bind threads using subroutines, though I would be very cautious when attempting to do so.
如果至少已输入了一个字符,则在按下enter键后,子例程将退出。
When the enter key is pressed, the subroutine exits if at least one character has been entered.
然后,该子例程的剩余部分继续执行,就像没有发生错误一样。
The rest of the subroutine then continues executing as if the error did not occur.
完成了基本变量声明和子例程后,程序将继续进行主程序循环,如下所示。
With the base variable declarations and subroutine complete, the program moves on to the main program loop, shown below.
对用 gss_wrap子例程加密的消息进行解密并检查嵌入的签名。
Unwraps a message sealed by the gss_wrap subroutine and verifies the embedded signature.
规则集开发人员构建了一个名为 PartName 的子例程。
The rule set developer has built a subroutine called PartName.
kmlHeader 子例程将输出KML文档的主要头标记。
The kmlHeader subroutine prints out the main header markup for the KML document.
清单4显示了用于在单击图像时提供用户反馈的clickimage子例程。
Listing 4 shows the clickImage subroutine to provide user feedback when an image is clicked.
进程被调度的次数(或者说是内核调度子例程为那个进程释放CPU的次数)。
Number of times that the process was dispatched (or how many times the kernel dispatch subroutine relinquished the CPU to that process).
准备好内部程序环境子例程之后,就可以指定一个简单的关键字匹配子例程
With the internal program environment subroutines in place, we can specify a simple keyword matching subroutine
DW _ TAG_subprogram:一个全局或文件静态子例程或函数。
DW_TAG_subprogram - a global or file static subroutine or function.
matchWords 子例程包含两个参数:搜索位置和搜索的单词。
The matchWords subroutine takes two arguments: location to search, and words to search for.
清单8显示了用于设置与cnee程序之间的后台连接的createpipe子例程。
Listing 8 shows the createPipe subroutine used to set up a background connection to the cnee program.
对AppConfig 的引用也被传送到子例程,所以单个更改会触发其它变量更改。
Note that a reference to AppConfig is also passed to the subroutine so other variable changes can be triggered by one single change.
munmap子例程只是取消 对mmap 子例程的调用而创建的区域的映射。
The munmap subroutine only unmaps regions created from calls to the mmap subroutine.
munmap子例程只是取消 对mmap 子例程的调用而创建的区域的映射。
The munmap subroutine only unmaps regions created from calls to the mmap subroutine.
应用推荐