diff options
author | 2006-11-02 18:19:59 +0000 | |
---|---|---|
committer | 2006-11-02 18:19:59 +0000 | |
commit | 5f7a0008786c4d3e82f0c368d91e8a34ee4ec640 (patch) | |
tree | f050f9e996ec4cbb1a01c1b4d9b28de8d777b205 /lib/libc/stdlib | |
parent | Don't check buf[strlen(buf) - 1] on empty strings. (diff) | |
download | wireguard-openbsd-5f7a0008786c4d3e82f0c368d91e8a34ee4ec640.tar.xz wireguard-openbsd-5f7a0008786c4d3e82f0c368d91e8a34ee4ec640.zip |
columns for underflow and overflow were swapped, noticed by Mathieu Olivier
<molivier at users dot sourceforge dot net>
ok jmc@ mickey@
Diffstat (limited to 'lib/libc/stdlib')
-rw-r--r-- | lib/libc/stdlib/strtol.3 | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libc/stdlib/strtol.3 b/lib/libc/stdlib/strtol.3 index e45941e07b4..4866db34f14 100644 --- a/lib/libc/stdlib/strtol.3 +++ b/lib/libc/stdlib/strtol.3 @@ -29,7 +29,7 @@ .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF .\" SUCH DAMAGE. .\" -.\" $OpenBSD: strtol.3,v 1.15 2006/03/29 20:10:52 grunk Exp $ +.\" $OpenBSD: strtol.3,v 1.16 2006/11/02 18:19:59 grunk Exp $ .\" .Dd January 3, 2006 .Dt STRTOL 3 @@ -159,7 +159,7 @@ is set to .Er ERANGE and the function return value is as follows: .Bl -column -offset indent "strtoimax" "overflow" "underflow" -.It Sy Function Ta Sy overflow Ta Sy underflow +.It Sy Function Ta Sy underflow Ta Sy overflow .It Fn strtol Ta Dv LONG_MIN Ta Dv LONG_MAX .It Fn strtoll Ta Dv LLONG_MIN Ta Dv LLONG_MAX .It Fn strtoimax Ta Dv INTMAX_MIN Ta Dv INTMAX_MAX |