summaryrefslogtreecommitdiff
path: root/src/lib/libc/stdlib/div.3
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/libc/stdlib/div.3')
-rw-r--r--src/lib/libc/stdlib/div.317
1 files changed, 7 insertions, 10 deletions
diff --git a/src/lib/libc/stdlib/div.3 b/src/lib/libc/stdlib/div.3
index a4730694a5..1f651d7fd3 100644
--- a/src/lib/libc/stdlib/div.3
+++ b/src/lib/libc/stdlib/div.3
@@ -31,8 +31,7 @@
31.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 31.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
32.\" SUCH DAMAGE. 32.\" SUCH DAMAGE.
33.\" 33.\"
34.\" from: @(#)div.3 5.2 (Berkeley) 4/19/91 34.\" $OpenBSD: div.3,v 1.5 2000/04/20 13:50:02 aaron Exp $
35.\" $Id: div.3,v 1.1.1.1 1995/10/18 08:42:17 deraadt Exp $
36.\" 35.\"
37.Dd April 19, 1991 36.Dd April 19, 1991
38.Dt DIV 3 37.Dt DIV 3
@@ -47,24 +46,22 @@
47.Sh DESCRIPTION 46.Sh DESCRIPTION
48The 47The
49.Fn div 48.Fn div
50function 49function computes the value
51computes the value 50.Fa num Ns No / Ns Fa denom
52.Fa num/denom
53and returns the quotient and remainder in a structure named 51and returns the quotient and remainder in a structure named
54.Fa div_t 52.Fa div_t
55that contains two 53that contains two
56.Em int 54.Li int
57members named 55members named
58.Fa quot 56.Fa quot
59and 57and
60.Fa rem . 58.Fa rem .
61.Sh SEE ALSO 59.Sh SEE ALSO
62.Xr ldiv 3 , 60.Xr ldiv 3 ,
63.Xr qdiv 3 , 61.Xr math 3 ,
64.Xr math 3 62.Xr qdiv 3
65.Sh STANDARDS 63.Sh STANDARDS
66The 64The
67.Fn div 65.Fn div
68function 66function conforms to
69conforms to
70.St -ansiC . 67.St -ansiC .