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

  man pages->NetBSD man pages -> qdiv (3)              
Title
Content
Arch
Section
 

QDIV(3)

Contents


NAME    [Toc]    [Back]

     qdiv - return quotient and remainder from division

LIBRARY    [Toc]    [Back]

     Standard C Library (libc, -lc)

SYNOPSIS    [Toc]    [Back]

     #include <stdlib.h>

     qdiv_t
     qdiv(quad_t num, quad_t denom);

DESCRIPTION    [Toc]    [Back]

     The qdiv() function computes the value num/denom and returns the quotient
     and remainder in a structure named qdiv_t that contains two quad integer
     members named quot and rem.

SEE ALSO    [Toc]    [Back]

      
      
     div(3), ldiv(3), lldiv(3), math(3)

BSD                              June 29, 1991                             BSD
[ Back ]
 Similar pages
Name OS Title
div Linux computes the quotient and remainder of integer division
ldiv Linux computes the quotient and remainder of long integer division.
lldiv FreeBSD returns quotient and remainder
imaxdiv FreeBSD returns quotient and remainder
mdSetTempo IRIX set tempo and division for a port
div IRIX perform integer division
labs Tru64 Computes absolute value and division of integers
ldiv Tru64 Computes absolute value and division of integers
div Tru64 Computes absolute value and division of integers
abs Tru64 Computes absolute value and division of integers
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service