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

  man pages->FreeBSD man pages -> lldiv (3)              
Title
Content
Arch
Section
 

LLDIV(3)

Contents


NAME    [Toc]    [Back]

     lldiv -- returns quotient and remainder

LIBRARY    [Toc]    [Back]

     Standard C Library (libc, -lc)

SYNOPSIS    [Toc]    [Back]

     #include <stdlib.h>

     lldiv_t
     lldiv(long long numer, long long denom);

DESCRIPTION    [Toc]    [Back]

     The lldiv() function computes the value of numer divided by denom and
     returns the stored result in the form of the lldiv_t type.

     The lldiv_t type is defined as:

	   typedef struct {
		   long long quot; /* Quotient. */
		   long long rem;  /* Remainder. */
	   } lldiv_t;

SEE ALSO    [Toc]    [Back]

      
      
     div(3), imaxdiv(3), ldiv(3), math(3)

STANDARDS    [Toc]    [Back]

     The lldiv() function conforms to ISO/IEC 9899:1999 (``ISO C99'').

HISTORY    [Toc]    [Back]

     The lldiv() function first appeared in FreeBSD 5.0.


FreeBSD 5.2.1		       November 14, 2001		 FreeBSD 5.2.1
[ Back ]
 Similar pages
Name OS Title
ldiv FreeBSD return quotient and remainder from division
div OpenBSD return quotient and remainder from division
div FreeBSD return quotient and remainder from division
ldiv OpenBSD return quotient and remainder from division
ldiv NetBSD return quotient and remainder from division
div NetBSD return quotient and remainder from division
lldiv NetBSD return quotient and remainder from division
qdiv NetBSD return quotient and remainder from division
qdiv OpenBSD return quotient and remainder from division
div Linux computes the quotient and remainder of integer division
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service