After a few more housekeeping checks, the penultimate step is to call the module's exit function (provided within the module itself).
在几个维护检查之后,倒数第二个步骤是调用模块的exit函数(模块内部自带)。
A typical program has a main, where an LKM has a module entry and exit function (in version 2.6, you can name these functions anything you wish).
典型的程序有一个main函数,其中LKM包含entry和exit函数(在2.6版本,您可以任意命名这些函数)。
If you need this behavior, consider calling the C exit function from your COBOL program and using _twzCOBOLTerm after the runtime termination exit.
如果需要使用这种行为,可以考虑从COBOL程序调用Cexit函数,并在运行时终止退出后使用 _twzCOBOLTerm。
When an error occurs or when you want to return a fault to the user, set the WS_FAULT object and exit the method with an Exit function or Exit sub statement.
当错误发生时,或者在您希望向用户返回一个故障时,设置 WS_FAULT对象,并使用一个Exit函数或 Exit子语句退出方法。
Then we call the exit() function with an error code; for this utility, we've chosen to return different numbers for every different error condition.
随后我们用错误码调用exit()函数;对于本实用程序,我们已经选择了对每个不同错误条件返回不同数字。
Then we call the exit() function with an error code; for this utility, we've chosen to return different numbers for every different error condition.
随后我们用错误码调用exit()函数;对于本实用程序,我们已经选择了对每个不同错误条件返回不同数字。
应用推荐