diff options
Diffstat (limited to 'src/lib/libc/stdlib/qdiv.3')
-rw-r--r-- | src/lib/libc/stdlib/qdiv.3 | 27 |
1 files changed, 11 insertions, 16 deletions
diff --git a/src/lib/libc/stdlib/qdiv.3 b/src/lib/libc/stdlib/qdiv.3 index 0efcfc96ef..94e3bdffb6 100644 --- a/src/lib/libc/stdlib/qdiv.3 +++ b/src/lib/libc/stdlib/qdiv.3 | |||
@@ -13,11 +13,7 @@ | |||
13 | .\" 2. Redistributions in binary form must reproduce the above copyright | 13 | .\" 2. Redistributions in binary form must reproduce the above copyright |
14 | .\" notice, this list of conditions and the following disclaimer in the | 14 | .\" notice, this list of conditions and the following disclaimer in the |
15 | .\" documentation and/or other materials provided with the distribution. | 15 | .\" documentation and/or other materials provided with the distribution. |
16 | .\" 3. All advertising materials mentioning features or use of this software | 16 | .\" 3. Neither the name of the University nor the names of its contributors |
17 | .\" must display the following acknowledgement: | ||
18 | .\" This product includes software developed by the University of | ||
19 | .\" California, Berkeley and its contributors. | ||
20 | .\" 4. Neither the name of the University nor the names of its contributors | ||
21 | .\" may be used to endorse or promote products derived from this software | 17 | .\" may be used to endorse or promote products derived from this software |
22 | .\" without specific prior written permission. | 18 | .\" without specific prior written permission. |
23 | .\" | 19 | .\" |
@@ -33,10 +29,9 @@ | |||
33 | .\" 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 |
34 | .\" SUCH DAMAGE. | 30 | .\" SUCH DAMAGE. |
35 | .\" | 31 | .\" |
36 | .\" from: @(#)qdiv.3 5.3 (Berkeley) 6/29/91 | 32 | .\" $OpenBSD: qdiv.3,v 1.9 2011/07/07 13:30:28 jmc Exp $ |
37 | .\" $Id: qdiv.3,v 1.1.1.1 1995/10/18 08:42:18 deraadt Exp $ | ||
38 | .\" | 33 | .\" |
39 | .Dd June 29, 1991 | 34 | .Dd $Mdocdate: July 7 2011 $ |
40 | .Dt QDIV 3 | 35 | .Dt QDIV 3 |
41 | .Os | 36 | .Os |
42 | .Sh NAME | 37 | .Sh NAME |
@@ -49,18 +44,18 @@ | |||
49 | .Sh DESCRIPTION | 44 | .Sh DESCRIPTION |
50 | The | 45 | The |
51 | .Fn qdiv | 46 | .Fn qdiv |
52 | function | 47 | function computes the value |
53 | computes the value | 48 | .Fa num Ns / Ns Fa denom |
54 | .Ar num/denom | ||
55 | and returns the quotient and remainder in a structure named | 49 | and returns the quotient and remainder in a structure named |
56 | .Ar qdiv_t | 50 | .Li qdiv_t |
57 | that contains two | 51 | that contains two |
58 | .Em quad integer | 52 | .Li quad integer |
59 | members named | 53 | members named |
60 | .Ar quot | 54 | .Fa quot |
61 | and | 55 | and |
62 | .Ar rem . | 56 | .Fa rem . |
63 | .Sh SEE ALSO | 57 | .Sh SEE ALSO |
64 | .Xr div 3 , | 58 | .Xr div 3 , |
59 | .Xr imaxdiv 3 , | ||
65 | .Xr ldiv 3 , | 60 | .Xr ldiv 3 , |
66 | .Xr math 3 | 61 | .Xr lldiv 3 |