Computer Science


LDIV(3)             Linux Programmer's Manual             LDIV(3)

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

SYNOPSIS
       #include <stdlib.h>

       ldiv_t ldiv(long int 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)

GNU                       March 29, 1993                        1

Back to the index


Apply now!


Handbook

Postgraduate study options

Computer Science Blog



Please give us your feedback or ask us a question

This message is...


My feedback or question is...


My email address is...

(Only if you need a reply)

A to Z Directory | Site map | Accessibility | Copyright | Privacy | Disclaimer | Feedback on this page