Manual Page Result
0
Command: lldiv | Section: 3 | Source: OpenBSD | File: lldiv.3
LLDIV(3) FreeBSD Library Functions Manual LLDIV(3)
NAME
lldiv, qdiv - return quotient and remainder from division
SYNOPSIS
#include <stdlib.h>
lldiv_t
lldiv(long long num, long long denom);
qdiv_t
qdiv(quad_t num, quad_t denom);
DESCRIPTION
The lldiv() function computes the value num/denom and returns the
quotient and remainder in a structure named lldiv_t that contains two
long long integer members named quot and rem.
The qdiv() function is a deprecated equivalent of lldiv().
SEE ALSO
div(3), imaxdiv(3), ldiv(3)
STANDARDS
The lldiv() function conforms to ISO/IEC 9899:1999 ("ISO C99").
FreeBSD 14.1-RELEASE-p8 September 11, 2022 FreeBSD 14.1-RELEASE-p8