IMAXDIV(3)              NetBSD Library Functions Manual             IMAXDIV(3)

NAME
     imaxdiv -- return quotient and remainder from division

LIBRARY
     Standard C Library (libc, -lc)

SYNOPSIS
     #include <inttypes.h>

     imaxdiv_t
     imaxdiv(intmax_t num, intmax_t denom);

DESCRIPTION
     The imaxdiv() function divides num by denom and returns the resulting
     quotient and remainder in a structure named imaxdiv_t that contains two
     imaxint_t members named quot and rem.

SEE ALSO
     div(3), ldiv(3), lldiv(3), math(3), qdiv(3)

STANDARDS
     The imaxdiv() function conforms to ISO/IEC 9899:1999 (``ISO C99'').

NetBSD 5.0                       March 6, 2000                      NetBSD 5.0

You can also request any man page by name and (optionally) by section:

Command: 
Section: 
Architecture: 
Collection: 
 

Use the DEFAULT collection to view manual pages for third-party software.


©1994 Man-cgi 1.15, Panagiotis Christias <christia@softlab.ntua.gr>
©1996-2009 Modified for NetBSD by Kimmo Suominen