您还可以忽略退出状态的适当的字节。
陷阱/后返回退出状态哪里去了?
这是因为只要连接成功,最后的退出状态码就是零。
This is because as long as the connection is successful, the last exit status will be zero.
仅当另一个命令返回零退出状态时才运行某个命令。
Run a command only if another command returns a zero exit status.
仅当另一个命令返回非零退出状态时才运行某个命令。
Run a command only if another command returns a non-zero exit status.
Purify还给了您们一些穿过它退出状态的一些信息。
Purify also gives you some information through its exit status.
默认情况下,Purify是不会修改您程序的正常退出状态的。
By default, Purify does not modify the normal exit status of your program.
正如您可以使用管理命令行参数和退出状态的任何计算语言一样,存在各种各样的可能性。
As you can use any computing language that manages command-line arguments and exit status, the possibilities are almost endless!
最常见的值应该是SPE_EXIT(程序成功执行,在这个结构中已经保存了一个退出状态)。
The most common value should be SPE_EXIT (the program was successful and an exit status has been stored in the structure).
如果设置这个变量,那么当脚本或程序返回非零值时tcsh会显示退出状态,这会指出潜在的错误。
If you set this variable, TCSH displays the exit status whenever a script or program returns a non-zero value, thereby indicating a potential error.
类似地,||控制操作符分隔两个命令,并且仅当第一个命令返回非零退出状态时才运行第二个命令。
Similarly, the || control operator separates two commands and runs the second command only if the first command returns a non-zero exit status.
使用&&控制操作符来组合两个命令,以便仅当第一个命令返回零退出状态时才运行第二个命令。
Use the && control operator to combine two commands so that the second is run only if the first command returns a zero exit status.
如果一个命令的第一个字符是连字符(-),那么该行中剩余的命令都会执行,不过其退出状态会被忽略。
If the first character of a command is a hyphen (-), the remainder of the line is executed, but its exit status is ignored.
errexit:如果某个命令产生非0(零)的退出状态并且设置了err陷阱,则执行err陷阱并退出。
Errexit: if a command has an exit status of anything but 0 (zero), execute the err trap (if it is set and exists).
然而,如果Purify发现任何访问错误或者内存泄露,您可以利用一个具体的退出状态来选择使您的程序退出。
However, you can choose to have your program exit with a special exit status if Purify finds any access errors or memory leaks.
列表1是一个例子,它利用这个- exit -status选项并使用这个退出状态来决定是否有错误在这个程序中被发现。
Listing 1 is an example that exploits the -exit-status option and USES the exit status to determine whether any errors were found in the program.
注意,当您运行该命令时,实现最终的退出状态的if语句将永远无法满足条件,因为脚本在遇到cp命令的非零返回状态时将退出。
Notice that when you run the command, the if statement for the last exit status is never reached because the script exits upon a non-zero return status of the cp command.
对于每个状态,可以有一个与状态进入及退出相关联的操作。
For each state, there can be an action associated with state entry and exit.
稍后您将了解到,我们可以使用多种操作进入和退出单个状态。
As we will see later, we can have multiple operations entering and exiting a single state.
在这种情况下,过程会立即退出并向调用者返回一个错误状态。
In this case, the procedure exits immediately and returns a failing status to the caller.
每当进入或退出该状态时,就会分别执行这些操作。
These actions occur whenever the state is entered or exited, respectively.
报告测试进度有时候是测试结果的分析,有时候是对高层次的里程碑、状态门,或进入和退出标准。
Reporting testing progress is sometimes a forensic analysis of testing results, and sometimes it's reporting on high-level milestones, state gates, or entry and exit criteria.
这意味着状态进入或退出操作将不会被转换触发。
This means that state entry and exit actions will not be triggered by the transition.
在TIME_WAIT状态退出之后,套接字被删除,该地址才能被重新绑定而不出问题。
After the TIME_WAIT state has exited, the socket is removed, and the address can be rebound without issue.
一般来说,那些已经很久出于失业状态的人最有可能退出找工作的群体。
Typically, those who have been unemployed the longest are the most likely to drop out of the job hunt.
WARNING—退出代码1—表示服务处于警告状态。
Warning-exit code 1-indicates a service is in warning state.
UNKNOWN—退出代码3—表示服务处于未知状态。
Unknown-exit code 3-indicates a service is in unknown state.
CRITICAL—退出代码2—表示服务处于危险状态。
Critical-exit code 2-indicates a service is in critical state.
登录状态控件注意到此信息并允许你退出。
The login status control notices this and changes to allow you to log out.
登录状态控件注意到此信息并允许你退出。
The login status control notices this and changes to allow you to log out.
应用推荐