lldiv(3) - NetBSD Manual Pages

Command: Section: Arch: Collection:  
LLDIV(3)                NetBSD Library Functions Manual               LLDIV(3)


NAME
lldiv -- return quotient and remainder from division
LIBRARY
Standard C Library (libc, -lc)
SYNOPSIS
#include <stdlib.h> lldiv_t lldiv(long long int num, long long int denom);
DESCRIPTION
The lldiv() function computes the value num/denom and returns the quo- tient and remainder in a structure named lldiv_t that contains two long long integer members named quot and rem.
SEE ALSO
div(3), imaxdiv(3), ldiv(3), math(3), qdiv(3)
STANDARDS
The lldiv() function conforms to ISO/IEC 9899:1999 (``ISO C99''). NetBSD 5.0 March 6, 2000 NetBSD 5.0
Powered by man-cgi (2024-03-20). Maintained for NetBSD by Kimmo Suominen. Based on man-cgi by Panagiotis Christias.