Ok-exit code 0-indicates a service is working properly.
OK—退出代码0—表示服务正常地工作。
Critical-exit code 2-indicates a service is in critical state.
CRITICAL—退出代码2—表示服务处于危险状态。
By default, NMAKE halts if a command returns a nonzero exit code.
根据预设,如果命令传回非零的结束代码,NMAKE 将会暂止。
Listing 1 shows a very simple program that simply exits with an exit code of 2.
清单1给出一个非常简单的程序,它的作用仅仅是使用退出码2退出。
The user exit code shown below is compiled as a dynamic linking library (for example: DLL).
下面所示的用户退出代码被编译成动态链接库(如dll)。
When a shell script process exits or returns to the parent process, the exit code should be 0.
当shell脚本进程退出或返回到父进程时,退出码应该是0。
If this program exits with anything other than exit code 100, it will be automatically restarted.
如果此程序退出时的退出码不是100,程序将自动重启。
Typically, this exit code is 0 to indicate success with other values indicating different types of errors.
一般情况下,此退出代码为0指示成功;若为其他值,则指示不同类型的错误。
An application typically returns an exit code to the operating system to indicate whether an application exited successfully or not.
应用程序通常都会向操作系统返回一个退出代码,指示应用程序是否已成功退出。
Again, if the exit code of zenity is 0, then ENTRY has the person's name. Here is the calendar example from above rewritten to use zenity.
再次说明,如果zenity的退出代码是0,那么ENTRY有某人的姓名。
Failed: As can be seen: the output in 1.8.x is "42", but in 1.9 becomes "1". (the "RESULT" here is the exit code of the Ruby interpreter).
可以看到:在1.8 . x上面的输出结果是“42”,但是在1.9上面就变成了“1”(上面的“RESULT”是Ruby解释器的退出代码)。
The following example specifies the error code returned during EXIT.
以下示例指定EXIT期间返回的错误代码。
Unexpected code paths: by following the entry and exit points, it is possible to see any unexpected code paths taken by the program.
意外的代码路径:通过跟踪进入和退出点,可以看出程序是否采用了意外的代码路径。
So the code will continue; in this case, that means that the method will exit and control will return to the form.
因此代码将继续执行,就是说,将退出该方法而把控制返回给表单。
You can replace code references in operation bodies, action on entry, action on exit, reaction in state, overridden properties, and configuration initialization.
您可以替换操作实体、条目操作、状态变更、重要属性以及配置初始化中的代码引用。
When the INSERT statement fails with the error code specified in the DECLARE exit handler statement, control passes to the handler, and the procedure is exited.
当insert语句失败并且错误代码在DECLAREEXIThandler语句中指定,那么控制将传递到处理程序,而过程将退出。
For example, in a well-designed GUI application, the code that adds an Exit menu item would run on a Windows PC but not a Mac.
例如,在一个设计良好的GUI应用程序中,添加一个exit菜单项的代码可以在WindowsPC上运行,但它不能在mac机上运行。
If the trace mode is not set to OFF (which is the default), then each entry, exit and non-zero SQL code will be logged in a global temp table with the following name and format.
如果跟踪模式没有被设为OFF(即默认情况),那么将使用下面的名称和格式,把每个入口、出口和非零s QL代码都记录到一个全局临时表中。
The last thing to do is exit with a zero return code so that the trigger monitor will commit the GET it performed on the trigger message and wait for another.
最后需要做的事情是使用一个零返回码退出,以便触发器监控器提交它在触发器消息上执行的GET并等待另一条消息。
To create a File menu with an Exit menu item, add the code in Listing 11 to Gwitter.groovy
为了创建包含Exit菜单项的File 菜单,在Gwitter.groovy 中添加清单11 中的代码
The INSERT error transfers control to the exit handler for that SQLSTATE code.
INSERT错误将控制转移到 SQLSTATE代码的退出处理程序。
For each milestone or iteration, you can create high-level schedules that list key project dates like final release, code freeze, UI freeze, beta entry, beta exit, and other dates.
对于每一个重大事件或者重复中,您可以创建高水平的日程表,该日程表列出了诸如版本、代码冻结、UI 冻结、beta入口、beta出口,以及其他的日期之类的信息。
User Function Tracing probes (or uft) for entry of exit of user written code.
针对用户编写的代码的入口或出口的用户函数跟踪探针(或uft)。
Exit exits the program with an error code of 0, traditionally associated with a successful completion.
_exit使用错误代码0退出该程序,这个错误代码通常表示成功结束。
The following example shows the CLPPlus behavior during an OS error with exit error code.
以下示例使用exit错误代码显示了出现OS错误期间的CLPPlus行为。
This ensures that you get to know if, due to a bug in the code in this function, the conditions that you expect to be true on exit, are not.
如果由于该函数中代码的错误,您期望退出时为真的条件并不为真,那么这些断言能够确保您知道这一点。
By adding a simple function to display a message and exit with the appropriate return code as well as moving everything into a for loop, the script looks cleaner and is easier to understand.
这个脚本增加了一个简单的函数来显示一个消息并带适当的返回码退出,还把所有操作转移到一个for循环中,这使这个脚本看起来更干净、更容易理解了。
Db2vend (fenced vendor process) : Executes vendor code on behalf of an EDU, for instance to execute the user-exit program for log archiving (UNIX-only).
db2vend(隔离的供应商进程):代表一个EDU执行供应商代码,使实例执行用户退出程序,以便进行日志归档(仅在UNIX上)。
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()函数;对于本实用程序,我们已经选择了对每个不同错误条件返回不同数字。
As the Scilab code is put into the exec function, the exit command is concatenated to the end of it so you don't have to rely on the user to input the word exit each time.
由于Scilab代码被放入exec函数,exit命令遂被串接到其尾端,这样一来,就无需依赖用户每次输入exit。
应用推荐