|
@ -29,7 +29,7 @@ |
|
|
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF |
|
|
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF |
|
|
.\" SUCH DAMAGE. |
|
|
.\" SUCH DAMAGE. |
|
|
.\" |
|
|
.\" |
|
|
.\" $OpenBSD: getopt.3,v 1.3 1997/04/03 07:22:31 deraadt Exp $ |
|
|
|
|
|
|
|
|
.\" $OpenBSD: getopt.3,v 1.4 1997/06/02 11:13:33 deraadt Exp $ |
|
|
.\" |
|
|
.\" |
|
|
.Dd April 19, 1994 |
|
|
.Dd April 19, 1994 |
|
|
.Dt GETOPT 3 |
|
|
.Dt GETOPT 3 |
|
@ -137,12 +137,12 @@ returns \-1. |
|
|
If the |
|
|
If the |
|
|
.Fn getopt |
|
|
.Fn getopt |
|
|
function encounters a character not found in the string |
|
|
function encounters a character not found in the string |
|
|
.Va optarg |
|
|
|
|
|
|
|
|
.Va optstring |
|
|
or detects |
|
|
or detects |
|
|
a missing option argument it writes an error message and returns |
|
|
|
|
|
.Ql ? |
|
|
|
|
|
to the |
|
|
|
|
|
.Em stderr . |
|
|
|
|
|
|
|
|
a missing option argument it writes an error message to |
|
|
|
|
|
.Em stderr |
|
|
|
|
|
and returns |
|
|
|
|
|
.Ql ? . |
|
|
Setting |
|
|
Setting |
|
|
.Va opterr |
|
|
.Va opterr |
|
|
to a zero will disable these error messages. |
|
|
to a zero will disable these error messages. |
|
|