man.bsd.lv manual page server

Manual Page Search Parameters

QDIV(3) Library Functions Manual QDIV(3)

qdivreturn quotient and remainder from division

library “libc”

#include <stdlib.h>

qdiv_t
qdiv(quad_t num, quad_t denom);

The () function computes the value num/denom and returns the quotient and remainder in a structure named qdiv_t that contains two members named quot and rem.

div(3), imaxdiv(3), ldiv(3), lldiv(3), math(3)

June 29, 1991 NetBSD-9.2