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

  man pages->IRIX man pages -> l3tol (3c)              
Title
Content
Arch
Section
 

Contents


l3tol(3C)							     l3tol(3C)


NAME    [Toc]    [Back]

     l3tol, ltol3 - convert between 3-byte integers and	long integers

SYNOPSIS    [Toc]    [Back]

     #include <stdlib.h>

     void l3tol	(long *lp, const char *cp, int n);

     void ltol3	(char *cp, const long *lp, int n);

DESCRIPTION    [Toc]    [Back]

     l3tol converts a list of n	three-byte integers packed into	a character
     string pointed to by cp into a list of long integers pointed to by	lp.

     ltol3 performs the	reverse	conversion from	long integers (lp) to threebyte
 integers (cp).

     These functions are useful	for file-system	maintenance where the block
     numbers are three bytes long.

SEE ALSO    [Toc]    [Back]

      
      
     fs(4).

NOTES    [Toc]    [Back]

     Because of	possible differences in	byte ordering, the numerical values of
     the long integers are machine-dependent.


									PPPPaaaaggggeeee 1111
[ Back ]
 Similar pages
Name OS Title
wcstoll FreeBSD convert a wide character string value to a long, unsigned long, long long, unsigned long long, intma...
wcstol FreeBSD convert a wide character string value to a long, unsigned long, long long, unsigned long long, intma...
wcstoull FreeBSD convert a wide character string value to a long, unsigned long, long long, unsigned long long, intma...
wcstoumax FreeBSD convert a wide character string value to a long, unsigned long, long long, unsigned long long, intma...
wcstoul FreeBSD convert a wide character string value to a long, unsigned long, long long, unsigned long long, intma...
wcstoimax FreeBSD convert a wide character string value to a long, unsigned long, long long, unsigned long long, intma...
pxfucompare IRIX Compares unsigned integers
_leb128_unsigned_decode64 IRIX decode leb128 integers
_leb128_unsigned_encode64 IRIX encode leb128 integers
abs Tru64 Computes absolute value and division of integers
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service