diff options
Diffstat (limited to 'src/lib/libc/stdlib/imaxabs.3')
| -rw-r--r-- | src/lib/libc/stdlib/imaxabs.3 | 13 |
1 files changed, 9 insertions, 4 deletions
diff --git a/src/lib/libc/stdlib/imaxabs.3 b/src/lib/libc/stdlib/imaxabs.3 index 6e280dda8a..340be61b6e 100644 --- a/src/lib/libc/stdlib/imaxabs.3 +++ b/src/lib/libc/stdlib/imaxabs.3 | |||
| @@ -29,9 +29,9 @@ | |||
| 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: imaxabs.3,v 1.7 2014/11/30 21:21:59 schwarze Exp $ | 32 | .\" $OpenBSD: imaxabs.3,v 1.8 2019/01/18 07:32:17 schwarze Exp $ |
| 33 | .\" | 33 | .\" |
| 34 | .Dd $Mdocdate: November 30 2014 $ | 34 | .Dd $Mdocdate: January 18 2019 $ |
| 35 | .Dt IMAXABS 3 | 35 | .Dt IMAXABS 3 |
| 36 | .Os | 36 | .Os |
| 37 | .Sh NAME | 37 | .Sh NAME |
| @@ -39,6 +39,7 @@ | |||
| 39 | .Nd integer absolute value function | 39 | .Nd integer absolute value function |
| 40 | .Sh SYNOPSIS | 40 | .Sh SYNOPSIS |
| 41 | .In inttypes.h | 41 | .In inttypes.h |
| 42 | .In stdint.h | ||
| 42 | .Ft intmax_t | 43 | .Ft intmax_t |
| 43 | .Fn imaxabs "intmax_t j" | 44 | .Fn imaxabs "intmax_t j" |
| 44 | .Sh DESCRIPTION | 45 | .Sh DESCRIPTION |
| @@ -61,5 +62,9 @@ The | |||
| 61 | .Fn imaxabs | 62 | .Fn imaxabs |
| 62 | function conforms to | 63 | function conforms to |
| 63 | .St -isoC-99 . | 64 | .St -isoC-99 . |
| 64 | .Sh BUGS | 65 | .Sh CAVEATS |
| 65 | The absolute value of the most negative integer remains negative. | 66 | The result of applying |
| 67 | .Fn imaxabs | ||
| 68 | to | ||
| 69 | .Dv INTMAX_MIN | ||
| 70 | is undefined. | ||
