Интерактивная система просмотра системных руководств (man-ов)
lldiv (3)
>> lldiv (3) ( FreeBSD man: Библиотечные вызовы ) lldiv (3) ( Русские man: Библиотечные вызовы ) lldiv (3) ( Linux man: Библиотечные вызовы ) lldiv (3) ( POSIX man: Библиотечные вызовы )
BSD mandoc
NAME
lldiv
- returns quotient and remainder
LIBRARY
Lb libc
SYNOPSIS
#include <stdlib.h>
lldiv_t
lldiv (long long numer long long denom);
DESCRIPTION
The
lldiv ();
function computes the value of
Fa numer
divided by
Fa denom
and returns the stored result in the form of the
Vt lldiv_t
type.
The
Vt lldiv_t
type is defined as:
typedef struct {
long long quot; /* Quotient. */
long long rem; /* Remainder. */
} lldiv_t;
SEE ALSO
div(3),
imaxdiv(3),
ldiv(3),
math(3)
STANDARDS
The
lldiv ();
function conforms to
St -isoC-99 .
HISTORY
The
lldiv ();
function first appeared in
Fx 5.0 .
Index
- NAME
-
- LIBRARY
-
- SYNOPSIS
-
- DESCRIPTION
-
- SEE ALSO
-
- STANDARDS
-
- HISTORY
-