This topic has been archived. It cannot be replied.
-
工作学习 / IT技术讨论 / UNIX 概念RETURN CODE 问题请教,在INTERVIEW中被问到RETURN CODE, 我做过一段时间的HP UNIX ,好象没接触到这个东东,但我知道在IBM-AIX 中有,...是不是这个RETURN CODE在HP UNIX 中没有啊?...
-beyondfear(beyondfear);
2005-3-30
{147}
(#2210426@0)
-
if the program is coded by C, it is the value of exit(return_code). if cmd is excute by shell, use "echo $?" to show the return code of last command. . u can find the define in /usr/include/errno.h for some cmd.Or check man page of the command at EXIT STATUS section to give description on the meaning of different return code.
The type is short(0-255).
it is starndard for Unix.(POSIX? not sure)
-647i(路遇*神,卡片遗失一);
2005-3-30
{190}
(#2210469@0)