version 1.19, 2009/03/21 18:07:41 |
version 1.20, 2010/09/03 11:09:29 |
|
|
flag is given, |
flag is given, |
.Nm |
.Nm |
will return a list of all matches instead of just the first match. |
will return a list of all matches instead of just the first match. |
.Pp |
|
The |
|
.Nm |
|
utility exits with one of the following values: |
|
.Pp |
|
.Bl -tag -width 4n -compact |
|
.It 0 |
|
All names were successfully resolved. |
|
.It 1 |
|
Some names were resolved but not all. |
|
.It 2 |
|
No names were resolved. |
|
.It \-1 |
|
A system error occurred. |
|
.El |
|
.Sh ENVIRONMENT |
.Sh ENVIRONMENT |
The following environment variables affect the execution of |
The following environment variables affect the execution of |
.Nm which : |
.Nm which : |
|
|
or relative pathname, |
or relative pathname, |
.Nm |
.Nm |
will fail. |
will fail. |
|
.El |
|
.Sh EXIT STATUS |
|
The |
|
.Nm |
|
utility exits with one of the following values: |
|
.Pp |
|
.Bl -tag -width Ds -offset indent -compact |
|
.It 0 |
|
All names were successfully resolved. |
|
.It 1 |
|
Some names were resolved but not all. |
|
.It 2 |
|
No names were resolved. |
|
.It \-1 |
|
A system error occurred. |
.El |
.El |
.Sh DIAGNOSTICS |
.Sh DIAGNOSTICS |
A diagnostic is given if an executable file with the argument |
A diagnostic is given if an executable file with the argument |