Manual browser: qdiv(3)

Section:
Page:
QDIV(3) Library Functions Manual QDIV(3)

NAME

qdivreturn quotient and remainder from division

LIBRARY

Standard C Library (libc, -lc)

SYNOPSIS

#include <stdlib.h>

qdiv_t
qdiv(quad_t num, quad_t denom);

DESCRIPTION

The qdiv() 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.
June 29, 1991 NetBSD 7.0