diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/lib/libc/stdlib/getopt.3 | 12 |
1 files changed, 1 insertions, 11 deletions
diff --git a/src/lib/libc/stdlib/getopt.3 b/src/lib/libc/stdlib/getopt.3 index 4f6fe9749b..083849f42c 100644 --- a/src/lib/libc/stdlib/getopt.3 +++ b/src/lib/libc/stdlib/getopt.3 | |||
| @@ -29,7 +29,7 @@ | |||
| 29 | .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF | 29 | .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF |
| 30 | .\" SUCH DAMAGE. | 30 | .\" SUCH DAMAGE. |
| 31 | .\" | 31 | .\" |
| 32 | .\" $OpenBSD: getopt.3,v 1.15 2002/02/23 19:50:01 miod Exp $ | 32 | .\" $OpenBSD: getopt.3,v 1.16 2002/02/23 19:54:29 miod Exp $ |
| 33 | .\" | 33 | .\" |
| 34 | .Dd April 19, 1994 | 34 | .Dd April 19, 1994 |
| 35 | .Dt GETOPT 3 | 35 | .Dt GETOPT 3 |
| @@ -192,16 +192,6 @@ The | |||
| 192 | .Fn getopt | 192 | .Fn getopt |
| 193 | function appeared in | 193 | function appeared in |
| 194 | .Bx 4.3 . | 194 | .Bx 4.3 . |
| 195 | .Sh CAVEATS | ||
| 196 | Some software use the very bad practice of affecting the return value of | ||
| 197 | .Fn getopt | ||
| 198 | to a | ||
| 199 | .Ft char | ||
| 200 | variable. | ||
| 201 | On platforms where | ||
| 202 | .Ft char | ||
| 203 | is unsigned by default, a comparison of this variable to \-1 to detect the | ||
| 204 | end of the argument list will never succeed. | ||
| 205 | .Sh BUGS | 195 | .Sh BUGS |
| 206 | The | 196 | The |
| 207 | .Fn getopt | 197 | .Fn getopt |
