diff options
| author | guenther <> | 2016-08-14 23:18:03 +0000 |
|---|---|---|
| committer | guenther <> | 2016-08-14 23:18:03 +0000 |
| commit | 3ef0b09a54a6c66b23643ef102d70a6cb968b5eb (patch) | |
| tree | 7e1cb514316cec6dc6c0898d75f4c612ad9ff229 /src/lib/libc/stdlib/labs.3 | |
| parent | d6facf8307c94c6aa261c4194e9f3a391e8a0cb3 (diff) | |
| download | openbsd-3ef0b09a54a6c66b23643ef102d70a6cb968b5eb.tar.gz openbsd-3ef0b09a54a6c66b23643ef102d70a6cb968b5eb.tar.bz2 openbsd-3ef0b09a54a6c66b23643ef102d70a6cb968b5eb.zip | |
Reduce qabs() and qdiv() to aliases of llabs() and lldiv().
Merge the manual pages and call them deprecated there.
ok and manpage tweak jmc@, ok natano@
Diffstat (limited to '')
| -rw-r--r-- | src/lib/libc/stdlib/labs.3 | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/src/lib/libc/stdlib/labs.3 b/src/lib/libc/stdlib/labs.3 index 55cf548ea5..272a14e3fe 100644 --- a/src/lib/libc/stdlib/labs.3 +++ b/src/lib/libc/stdlib/labs.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: labs.3,v 1.13 2014/11/30 21:21:59 schwarze Exp $ | 32 | .\" $OpenBSD: labs.3,v 1.14 2016/08/14 23:18:03 guenther Exp $ |
| 33 | .\" | 33 | .\" |
| 34 | .Dd $Mdocdate: November 30 2014 $ | 34 | .Dd $Mdocdate: August 14 2016 $ |
| 35 | .Dt LABS 3 | 35 | .Dt LABS 3 |
| 36 | .Os | 36 | .Os |
| 37 | .Sh NAME | 37 | .Sh NAME |
| @@ -44,6 +44,8 @@ | |||
| 44 | .Fn labs "long i" | 44 | .Fn labs "long i" |
| 45 | .Ft long long | 45 | .Ft long long |
| 46 | .Fn llabs "long long j" | 46 | .Fn llabs "long long j" |
| 47 | .Ft quad_t | ||
| 48 | .Fn qabs "quad_t j" | ||
| 47 | .Sh DESCRIPTION | 49 | .Sh DESCRIPTION |
| 48 | The | 50 | The |
| 49 | .Fn labs | 51 | .Fn labs |
| @@ -53,6 +55,10 @@ The | |||
| 53 | .Fn llabs | 55 | .Fn llabs |
| 54 | function returns the absolute value of the long long integer | 56 | function returns the absolute value of the long long integer |
| 55 | .Fa j . | 57 | .Fa j . |
| 58 | The | ||
| 59 | .Fn qabs | ||
| 60 | function is a deprecated equivalent of | ||
| 61 | .Fn llabs . | ||
| 56 | .Sh SEE ALSO | 62 | .Sh SEE ALSO |
| 57 | .Xr abs 3 , | 63 | .Xr abs 3 , |
| 58 | .Xr cabs 3 , | 64 | .Xr cabs 3 , |
