Penguin

LDIV

LDIV

NAME SYNOPSIS DESCRIPTION RETURN VALUE CONFORMING TO SEE ALSO


NAME

ldiv - computes the quotient and remainder of long integer division.

SYNOPSIS

#include numer, long int denom);

DESCRIPTION

The ldiv() function computes the value numer/denom and returns the quotient and remainder in a structure named ldiv_t that contains two long integer members named quot and rem.

RETURN VALUE

The ldiv_t structure.

CONFORMING TO

SVID 3, BSD 4.3, ISO 9899

SEE ALSO

div(3)


This page is a man page (or other imported legacy content). We are unable to automatically determine the license status of this page.