Blame man/TIFFFieldPassCount.3tiff

Packit 7838c8
.\" $Id: TIFFFieldPassCount.3tiff,v 1.2 2016-09-25 20:05:49 bfriesen Exp $
Packit 7838c8
.\"
Packit 7838c8
.\" Copyright (c) 2012, Tom Lane <tgl@sss.pgh.pa.us>
Packit 7838c8
.\"
Packit 7838c8
.\" Permission to use, copy, modify, distribute, and sell this software and 
Packit 7838c8
.\" its documentation for any purpose is hereby granted without fee, provided
Packit 7838c8
.\" that (i) the above copyright notices and this permission notice appear in
Packit 7838c8
.\" all copies of the software and related documentation, and (ii) the names of
Packit 7838c8
.\" Sam Leffler and Silicon Graphics may not be used in any advertising or
Packit 7838c8
.\" publicity relating to the software without the specific, prior written
Packit 7838c8
.\" permission of Sam Leffler and Silicon Graphics.
Packit 7838c8
.\" 
Packit 7838c8
.\" THE SOFTWARE IS PROVIDED "AS-IS" AND WITHOUT WARRANTY OF ANY KIND, 
Packit 7838c8
.\" EXPRESS, IMPLIED OR OTHERWISE, INCLUDING WITHOUT LIMITATION, ANY 
Packit 7838c8
.\" WARRANTY OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE.  
Packit 7838c8
.\" 
Packit 7838c8
.\" IN NO EVENT SHALL SAM LEFFLER OR SILICON GRAPHICS BE LIABLE FOR
Packit 7838c8
.\" ANY SPECIAL, INCIDENTAL, INDIRECT OR CONSEQUENTIAL DAMAGES OF ANY KIND,
Packit 7838c8
.\" OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
Packit 7838c8
.\" WHETHER OR NOT ADVISED OF THE POSSIBILITY OF DAMAGE, AND ON ANY THEORY OF 
Packit 7838c8
.\" LIABILITY, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE 
Packit 7838c8
.\" OF THIS SOFTWARE.
Packit 7838c8
.\"
Packit 7838c8
.if n .po 0
Packit 7838c8
.TH TIFFFieldPassCount 3TIFF "July 26, 2012" "libtiff"
Packit 7838c8
.SH NAME
Packit 7838c8
TIFFFieldPassCount \- Get whether to pass a count to TIFFGet/SetField
Packit 7838c8
.SH SYNOPSIS
Packit 7838c8
.B "#include <tiffio.h>"
Packit 7838c8
.sp
Packit 7838c8
.BI "int TIFFFieldPassCount(const TIFFField* " fip ")"
Packit 7838c8
.SH DESCRIPTION
Packit 7838c8
.BR TIFFFieldPassCount
Packit 7838c8
returns true (nonzero) if
Packit 7838c8
.BR TIFFGetField
Packit 7838c8
and
Packit 7838c8
.BR TIFFSetField
Packit 7838c8
expect a
Packit 7838c8
.I count
Packit 7838c8
value to be passed before the actual data pointer.
Packit 7838c8
.P
Packit 7838c8
.I fip
Packit 7838c8
is a field information pointer previously returned by
Packit 7838c8
.BR TIFFFindField ,
Packit 7838c8
.BR TIFFFieldWithTag ,
Packit 7838c8
or
Packit 7838c8
.BR TIFFFieldWithName .
Packit 7838c8
.P
Packit 7838c8
When a
Packit 7838c8
.I count
Packit 7838c8
is required, it will be of type
Packit 7838c8
.BR uint32
Packit 7838c8
when
Packit 7838c8
.BR TIFFFieldReadCount
Packit 7838c8
reports
Packit 7838c8
.BR TIFF_VARIABLE2 ,
Packit 7838c8
and of type
Packit 7838c8
.BR uint16
Packit 7838c8
otherwise.  (This distinction is critical for use of
Packit 7838c8
.BR TIFFGetField ,
Packit 7838c8
but normally not so for use of
Packit 7838c8
.BR TIFFSetField .)
Packit 7838c8
.br
Packit 7838c8
.SH "RETURN VALUES"
Packit 7838c8
.br
Packit 7838c8
.BR TIFFFieldPassCount
Packit 7838c8
returns an integer that is always 1 (true) or 0 (false).
Packit 7838c8
.br
Packit 7838c8
.SH "SEE ALSO"
Packit 7838c8
.BR libtiff (3TIFF),
Packit 7838c8
.PP
Packit 7838c8
Libtiff library home page:
Packit 7838c8
.BR http://www.simplesystems.org/libtiff/