|
NAMElldiv —
returns quotient and remainder
LIBRARYStandard C Library (libc, -lc)SYNOPSIS#include <stdlib.h>
lldiv_t
DESCRIPTIONThelldiv () function computes the value of
numer divided by denom and returns
the stored result in the form of the lldiv_t type.
The lldiv_t type is defined as: typedef struct { long long quot; /* Quotient. */ long long rem; /* Remainder. */ } lldiv_t; SEE ALSOdiv(3), imaxdiv(3), ldiv(3), math(3)STANDARDSThelldiv () function conforms to
ISO/IEC 9899:1999 (“ISO C99”).
HISTORYThelldiv () function first appeared in
FreeBSD 5.0.
Visit the GSP FreeBSD Man Page Interface. |