version 1.2, 1996/06/26 05:37:52 |
version 1.3, 1999/05/23 17:37:41 |
|
|
if ((eoptind >= nargc) || |
if ((eoptind >= nargc) || |
((*(place = nargv[eoptind]) != '-') && (*place != '+'))) { |
((*(place = nargv[eoptind]) != '-') && (*place != '+'))) { |
place = EMSG; |
place = EMSG; |
return (EOF); |
return (-1); |
} |
} |
|
|
delim = (int)*place; |
delim = (int)*place; |
|
|
*/ |
*/ |
++eoptind; |
++eoptind; |
place = EMSG; |
place = EMSG; |
return (EOF); |
return (-1); |
} |
} |
} |
} |
|
|
|
|
* assume it means EOF when by itself. |
* assume it means EOF when by itself. |
*/ |
*/ |
if ((eoptopt == (int)'-') && !*place) |
if ((eoptopt == (int)'-') && !*place) |
return (EOF); |
return (-1); |
if (strchr(ostr, '#') && (isdigit(eoptopt) || |
if (strchr(ostr, '#') && (isdigit(eoptopt) || |
(((eoptopt == (int)'-') || (eoptopt == (int)'+')) && |
(((eoptopt == (int)'-') || (eoptopt == (int)'+')) && |
isdigit(*place)))) { |
isdigit(*place)))) { |