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

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

DIV(3)

Contents


NAME    [Toc]    [Back]

       div - computes the quotient and remainder of integer division

SYNOPSIS    [Toc]    [Back]

       #include <stdlib.h>

       div_t div(int numer, int denom);

DESCRIPTION    [Toc]    [Back]

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

RETURN VALUE    [Toc]    [Back]

       The div_t structure.

CONFORMING TO    [Toc]    [Back]

       SVID 3, BSD 4.3, ISO 9899

SEE ALSO    [Toc]    [Back]

      
      
       ldiv(3)



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