4.14.6. lldiv()

The lldiv functiondivides two long long integers and returns both the quotient and the remainder. It is the long long equivalent of the ANSI function ldiv. The return type lldiv_t is a structure containing two long long members, called quot and rem.

<stdlib.h> is an ANSI header file, but the function is not allowed by the ANSI C library standard. It is therefore not available if you use the compilers with the -strict option.


lldiv_tlldiv(long long num, long long denom);

Copyright © 1999-2001 ARM Limited. All rights reserved.ARM DUI 0067D