NAME
qdiv
—
return quotient and remainder from
division
LIBRARY
library “libc”
SYNOPSIS
#include
<stdlib.h>
qdiv_t
qdiv
(quad_t
num, quad_t
denom);
DESCRIPTION
Theqdiv
()
function computes the value num/denom and returns the
quotient and remainder in a structure named qdiv_t that
contains two quad
integer members named quot and
rem.