VMS Help
CRTL, qdiv,lldiv

 *Conan The Librarian

    Returns the quotient and the remainder after the division of its
    arguments. lldiv is a synonym for qdiv.

    This function is supported on OpenVMS Integrity servers and
    Alpha only.

    Format

      #include  <stdlib.h>

      qdiv_t qdiv  (__int64 numer, __int64  denom);

      lldiv_t lldiv  (__int64 numer, __int64  denom);

  1 - Arguments

 numer

    A numerator of type __int64.

 denom

    A denominator of type __int64.

  2 - Description

    The types qdiv_t and lldiv_t are defined in the <stdlib.h> header
    file as follows:

    typedef struct
             {
             __int64 quot, rem;
             } qdiv_t, lldiv_t;
  Close     Help