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