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