*nix Documentation Project
·  Home
 +   man pages
·  Linux HOWTOs
·  FreeBSD Tips
·  *niX Forums

  man pages->Linux man pages -> ldiv (3)              
Title
Content
Arch
Section
 

LDIV(3)

Contents


NAME    [Toc]    [Back]

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

SYNOPSIS    [Toc]    [Back]

       #include <stdlib.h>

       ldiv_t ldiv(long int numer, long int denom);

DESCRIPTION    [Toc]    [Back]

       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    [Toc]    [Back]

       The ldiv_t structure.

CONFORMING TO    [Toc]    [Back]

       SVID 3, BSD 4.3, ISO 9899

SEE ALSO    [Toc]    [Back]

      
      
       div(3)



GNU				  1993-03-29			       LDIV(3)
[ Back ]
 Similar pages
Name OS Title
div Linux computes the quotient and remainder of integer division
ldiv OpenBSD return quotient and remainder from division
div FreeBSD return quotient and remainder from division
ldiv NetBSD return quotient and remainder from division
lldiv NetBSD return quotient and remainder from division
qdiv OpenBSD return quotient and remainder from division
qdiv NetBSD return quotient and remainder from division
ldiv FreeBSD return quotient and remainder from division
div NetBSD return quotient and remainder from division
div OpenBSD return quotient and remainder from division
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service