Blame html/man/TIFFmemory.3tiff.html

Packit Service db44fb
Packit Service db44fb
Packit Service db44fb
<html>
Packit Service db44fb
<head>
Packit Service db44fb
<meta name="generator" content="groff -Thtml, see www.gnu.org">
Packit Service db44fb
<meta name="Content-Style" content="text/css">
Packit Service db44fb
<title>MEMORY</title>
Packit Service db44fb
</head>
Packit Service db44fb
<body>
Packit Service db44fb
Packit Service db44fb

MEMORY

Packit Service db44fb
NAME
Packit Service db44fb
SYNOPSIS
Packit Service db44fb
DESCRIPTION
Packit Service db44fb
DIAGNOSTICS
Packit Service db44fb
SEE ALSO
Packit Service db44fb
Packit Service db44fb

Packit Service db44fb
Packit Service db44fb

NAME

Packit Service db44fb
Packit Service db44fb
Packit Service db44fb
       cols="2" cellspacing="0" cellpadding="0">
Packit Service db44fb
Packit Service db44fb
Packit Service db44fb
Packit Service db44fb

_TIFFmalloc, _TIFFrealloc, _TIFFfree, _TIFFmemset,

Packit Service db44fb
_TIFFmemcpy, _TIFFmemcmp, − memory management-related
Packit Service db44fb
functions for use with <small>TIFF</small> files

Packit Service db44fb
Packit Service db44fb
Packit Service db44fb
Packit Service db44fb

SYNOPSIS

Packit Service db44fb
Packit Service db44fb
Packit Service db44fb
       cols="2" cellspacing="0" cellpadding="0">
Packit Service db44fb
Packit Service db44fb
Packit Service db44fb
Packit Service db44fb

#include <tiffio.h>

Packit Service db44fb
Packit Service db44fb

tdata_t _TIFFmalloc(tsize_t size);

Packit Service db44fb
tdata_t _TIFFrealloc(tdata_t buffer,
Packit Service db44fb
tsize_t size);
Packit Service db44fb
void _TIFFfree(tdata_t buffer);
Packit Service db44fb
void _TIFFmemset(tdata_t s, int
Packit Service db44fb
c, tsize_t n);
Packit Service db44fb
void _TIFFmemcpy(tdata_t dest, const
Packit Service db44fb
tdata_t src, tsize_t n);
Packit Service db44fb
int _TIFFmemcmp(const tdata_t s1, const
Packit Service db44fb
tdata_t s2, tsize_t n);

Packit Service db44fb
Packit Service db44fb
Packit Service db44fb
Packit Service db44fb

DESCRIPTION

Packit Service db44fb
Packit Service db44fb
Packit Service db44fb
       cols="2" cellspacing="0" cellpadding="0">
Packit Service db44fb
Packit Service db44fb
Packit Service db44fb
Packit Service db44fb

These routines are provided for writing portable software

Packit Service db44fb
that uses libtiff; they hide any memory-management
Packit Service db44fb
related issues, such as dealing with segmented architectures
Packit Service db44fb
found on 16-bit machines.

Packit Service db44fb
Packit Service db44fb

_TIFFmalloc and _TIFFrealloc are used to

Packit Service db44fb
dynamically allocate and reallocate memory used by
Packit Service db44fb
libtiff; such as memory passed into the I/O routines.
Packit Service db44fb
Memory allocated through these interfaces is released back
Packit Service db44fb
to the system using the _TIFFfree routine.

Packit Service db44fb
Packit Service db44fb

Memory allocated through one of the above interfaces can

Packit Service db44fb
be set to a known value using _TIFFmemset, copied to
Packit Service db44fb
another memory location using _TIFFmemcpy, or
Packit Service db44fb
compared for equality using _TIFFmemcmp. These
Packit Service db44fb
routines conform to the equivalent <small>ANSI</small> C
Packit Service db44fb
routines: memset, memcpy, and memcmp,
Packit Service db44fb
repsectively.

Packit Service db44fb
Packit Service db44fb
Packit Service db44fb
Packit Service db44fb

DIAGNOSTICS

Packit Service db44fb
Packit Service db44fb
Packit Service db44fb
       cols="2" cellspacing="0" cellpadding="0">
Packit Service db44fb
Packit Service db44fb
Packit Service db44fb
Packit Service db44fb

None.

Packit Service db44fb
Packit Service db44fb
Packit Service db44fb
Packit Service db44fb

SEE ALSO

Packit Service db44fb
Packit Service db44fb
Packit Service db44fb
       cols="2" cellspacing="0" cellpadding="0">
Packit Service db44fb
Packit Service db44fb
Packit Service db44fb
Packit Service db44fb

malloc(3), memory(3),

Packit Service db44fb
libtiff(3TIFF)

Packit Service db44fb
Packit Service db44fb

Libtiff library home page:

Packit Service db44fb
http://www.remotesensing.org/libtiff/

Packit Service db44fb
Packit Service db44fb
Packit Service db44fb

Packit Service db44fb
</body>
Packit Service db44fb
</html>