Browse Source

in column lists, enforce the following ordering:

.Bl -column header1 header2 ... <Bl flags>
mixing things up confuses mandoc, and adding flags in can screw up the list.
this hopefully just makes things a bit safer (and more consistent).
(one more bit of work left and all column lists should format how we want)
OPENBSD_5_1
jmc 13 years ago
parent
commit
a9a87846de
1 changed files with 3 additions and 3 deletions
  1. +3
    -3
      src/lib/libc/stdlib/strtol.3

+ 3
- 3
src/lib/libc/stdlib/strtol.3 View File

@ -29,9 +29,9 @@
.\" 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: strtol.3,v 1.19 2007/11/13 18:30:04 tobias Exp $
.\" $OpenBSD: strtol.3,v 1.20 2011/08/30 12:25:09 jmc Exp $
.\" .\"
.Dd $Mdocdate: November 13 2007 $
.Dd $Mdocdate: August 30 2011 $
.Dt STRTOL 3 .Dt STRTOL 3
.Os .Os
.Sh NAME .Sh NAME
@ -164,7 +164,7 @@ If overflow or underflow occurs,
is set to is set to
.Er ERANGE .Er ERANGE
and the function return value is as follows: and the function return value is as follows:
.Bl -column -offset indent "strtoimax" "overflow" "underflow"
.Bl -column "strtoimax" "overflow" "underflow" -offset indent
.It Sy Function Ta Sy underflow Ta Sy overflow .It Sy Function Ta Sy underflow Ta Sy overflow
.It Fn strtol Ta Dv LONG_MIN Ta Dv LONG_MAX .It Fn strtol Ta Dv LONG_MIN Ta Dv LONG_MAX
.It Fn strtoll Ta Dv LLONG_MIN Ta Dv LLONG_MAX .It Fn strtoll Ta Dv LLONG_MIN Ta Dv LLONG_MAX


Loading…
Cancel
Save