|
kusano |
7d535a |
|
|
kusano |
7d535a |
|
|
kusano |
7d535a |
|
|
kusano |
7d535a |
|
|
kusano |
7d535a |
<meta content="groff -Thtml, see www.gnu.org" name="generator">
|
|
kusano |
7d535a |
<meta content="text/css" name="Content-Style">
|
|
kusano |
7d535a |
<title>MEMORY</title>
|
|
kusano |
7d535a |
|
|
kusano |
7d535a |
|
|
kusano |
7d535a |
|
|
kusano |
7d535a |
MEMORY
|
|
kusano |
7d535a |
NAME
|
|
kusano |
7d535a |
SYNOPSIS
|
|
kusano |
7d535a |
DESCRIPTION
|
|
kusano |
7d535a |
DIAGNOSTICS
|
|
kusano |
7d535a |
SEE ALSO
|
|
kusano |
7d535a |
|
|
kusano |
7d535a |
|
|
kusano |
7d535a |
|
|
kusano |
7d535a |
NAME
|
|
kusano |
7d535a |
|
|
kusano |
7d535a |
|
|
kusano |
7d535a |
cols="2" cellspacing="0" cellpadding="0">
|
|
kusano |
7d535a |
|
|
kusano |
7d535a |
|
|
kusano |
7d535a |
|
|
kusano |
7d535a |
_TIFFmalloc, _TIFFrealloc, _TIFFfree, _TIFFmemset,
|
|
kusano |
7d535a |
_TIFFmemcpy, _TIFFmemcmp, − memory management-related
|
|
kusano |
7d535a |
functions for use with <small>TIFF</small> files
|
|
kusano |
7d535a |
|
|
kusano |
7d535a |
|
|
kusano |
7d535a |
|
|
kusano |
7d535a |
SYNOPSIS
|
|
kusano |
7d535a |
|
|
kusano |
7d535a |
|
|
kusano |
7d535a |
cols="2" cellspacing="0" cellpadding="0">
|
|
kusano |
7d535a |
|
|
kusano |
7d535a |
|
|
kusano |
7d535a |
|
|
kusano |
7d535a |
#include <tiffio.h>
|
|
kusano |
7d535a |
|
|
kusano |
7d535a |
tdata_t _TIFFmalloc(tsize_t size);
|
|
kusano |
7d535a |
tdata_t _TIFFrealloc(tdata_t buffer,
|
|
kusano |
7d535a |
tsize_t size);
|
|
kusano |
7d535a |
void _TIFFfree(tdata_t buffer);
|
|
kusano |
7d535a |
void _TIFFmemset(tdata_t s, int
|
|
kusano |
7d535a |
c, tsize_t n);
|
|
kusano |
7d535a |
void _TIFFmemcpy(tdata_t dest, const
|
|
kusano |
7d535a |
tdata_t src, tsize_t n);
|
|
kusano |
7d535a |
int _TIFFmemcmp(const tdata_t s1, const
|
|
kusano |
7d535a |
tdata_t s2, tsize_t n);
|
|
kusano |
7d535a |
|
|
kusano |
7d535a |
|
|
kusano |
7d535a |
|
|
kusano |
7d535a |
DESCRIPTION
|
|
kusano |
7d535a |
|
|
kusano |
7d535a |
|
|
kusano |
7d535a |
cols="2" cellspacing="0" cellpadding="0">
|
|
kusano |
7d535a |
|
|
kusano |
7d535a |
|
|
kusano |
7d535a |
|
|
kusano |
7d535a |
These routines are provided for writing portable software
|
|
kusano |
7d535a |
that uses libtiff; they hide any memory-management
|
|
kusano |
7d535a |
related issues, such as dealing with segmented architectures
|
|
kusano |
7d535a |
found on 16-bit machines.
|
|
kusano |
7d535a |
|
|
kusano |
7d535a |
_TIFFmalloc and _TIFFrealloc are used to
|
|
kusano |
7d535a |
dynamically allocate and reallocate memory used by
|
|
kusano |
7d535a |
libtiff; such as memory passed into the I/O routines.
|
|
kusano |
7d535a |
Memory allocated through these interfaces is released back
|
|
kusano |
7d535a |
to the system using the _TIFFfree routine.
|
|
kusano |
7d535a |
|
|
kusano |
7d535a |
Memory allocated through one of the above interfaces can
|
|
kusano |
7d535a |
be set to a known value using _TIFFmemset, copied to
|
|
kusano |
7d535a |
another memory location using _TIFFmemcpy, or
|
|
kusano |
7d535a |
compared for equality using _TIFFmemcmp. These
|
|
kusano |
7d535a |
routines conform to the equivalent <small>ANSI</small> C
|
|
kusano |
7d535a |
routines: memset, memcpy, and memcmp,
|
|
kusano |
7d535a |
repsectively.
|
|
kusano |
7d535a |
|
|
kusano |
7d535a |
|
|
kusano |
7d535a |
|
|
kusano |
7d535a |
DIAGNOSTICS
|
|
kusano |
7d535a |
|
|
kusano |
7d535a |
|
|
kusano |
7d535a |
cols="2" cellspacing="0" cellpadding="0">
|
|
kusano |
7d535a |
|
|
kusano |
7d535a |
|
|
kusano |
7d535a |
|
|
kusano |
7d535a |
None.
|
|
kusano |
7d535a |
|
|
kusano |
7d535a |
|
|
kusano |
7d535a |
|
|
kusano |
7d535a |
SEE ALSO
|
|
kusano |
7d535a |
|
|
kusano |
7d535a |
|
|
kusano |
7d535a |
cols="2" cellspacing="0" cellpadding="0">
|
|
kusano |
7d535a |
|
|
kusano |
7d535a |
|
|
kusano |
7d535a |
|
|
kusano |
7d535a |
malloc(3), memory(3),
|
|
kusano |
7d535a |
libtiff(3TIFF)
|
|
kusano |
7d535a |
|
|
kusano |
7d535a |
Libtiff library home page:
|
|
kusano |
7d535a |
http://www.remotesensing.org/libtiff/
|
|
kusano |
7d535a |
|
|
kusano |
7d535a |
|
|
kusano |
7d535a |
|
|
kusano |
7d535a |
|
|
kusano |
7d535a |
|