Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

tiffsetwarninghandler(3t) [redhat man page]

TIFFWarning(3T) 														   TIFFWarning(3T)

NAME
TIFFWarning, TIFFSetWarningHandler - library warning interface SYNOPSIS
#include <tiffio.h> void TIFFWarning(const char* module, const char* fmt, ...) #include <stdargh.h> typedef void (*TIFFWarningHandler)(const char* module, const char* fmt, va_list ap); TIFFWarningHandler TIFFSetWarningHandler(TIFFWarningHandler handler); DESCRIPTION
TIFFWarning invokes the library-wide warning handler function to (normally) write a warning message to the stderr. The fmt parameter is a printf(3S) format string, and any number arguments can be supplied. The module parameter is interpreted as a string that, if non-zero, should be printed before the message; it typically is used to identify the software module in which a warning is detected. Applications that desire to capture control in the event of a warning should use TIFFSetWarningHandler to override the default warning han- dler. A NULL(0) warning handler function may be installed to suppress error messages. RETURN VALUES
TIFFSetWarningHandler returns a reference to the previous error handling function. SEE ALSO
libtiff(3T), TIFFError(3T), printf(3S) October 15, 1995 TIFFWarning(3T)

Check Out this Related Man Page

TIFFWarning(3T) 														   TIFFWarning(3T)

NAME
TIFFWarning, TIFFSetWarningHandler - library warning interface SYNOPSIS
#include <tiffio.h> void TIFFWarning(const char* module, const char* fmt, ...) #include <stdargh.h> typedef void (*TIFFWarningHandler)(const char* module, const char* fmt, va_list ap); TIFFWarningHandler TIFFSetWarningHandler(TIFFWarningHandler handler); DESCRIPTION
TIFFWarning invokes the library-wide warning handler function to (normally) write a warning message to the stderr. The fmt parameter is a printf(3S) format string, and any number arguments can be supplied. The module parameter is interpreted as a string that, if non-zero, should be printed before the message; it typically is used to identify the software module in which a warning is detected. Applications that desire to capture control in the event of a warning should use TIFFSetWarningHandler to override the default warning han- dler. A NULL(0) warning handler function may be installed to suppress error messages. RETURN VALUES
TIFFSetWarningHandler returns a reference to the previous error handling function. SEE ALSO
libtiff(3T), TIFFError(3T), printf(3S) October 15, 1995 TIFFWarning(3T)
Man Page

15 More Discussions You Might Find Interesting

1. Programming

gcc compiler warning

The gcc compiler is giving following error in my code. Can Anyone help, why is this warning popping up. "void format, different type arg (arg 1)" The function's on which warning is given, looks like this: void fprint_stderr_sockarray(int* sockets) { .......... .......... } (2 Replies)
Discussion started by: Ahsan
2 Replies

2. SCO

warning addtooverflowlist

Does anyone know what this warning means we get it now and then. We just repalced aour hard drive and reinstalled sco and now get this warning: warning: Addtooverflowlist rp=F02967ac ha=0 id=0 lun=0 CAn anyone help on this problem. I have searched the web but cant find anything. thanks (0 Replies)
Discussion started by: davekasp
0 Replies

3. UNIX for Advanced & Expert Users

Directory restriction warning

Platform: AIX Shell: KSH Does anyone have a good way of warning users that when they do a 'vi' in a certain directory that they cannot save any changes in that directory. For instance, if I have a production id that has all scripts in /myprod/dir, and if anyone comes to this directory and does... (1 Reply)
Discussion started by: giannicello
1 Replies

4. Programming

warning from gcc

I get this error warning. test.c: In function 'main': test.c:5: warning: incompatible implicit declaration of built-in function 'memset' After compiling this code #include <stdio.h> int main() { char pBuffer; memset(pBuffer, 0, 32); return 0; } What seems... (2 Replies)
Discussion started by: sledge76
2 Replies

5. UNIX for Dummies Questions & Answers

warning message

I have received a warning message, does anyone know what this means? warning: userdel processing continues resource: /var/opt1k/sco/unix/5.0.6 Ga/etx/group-t could not be allocated due to : cannot securly create new file. (0 Replies)
Discussion started by: qphillips
0 Replies

6. HP-UX

HP-UX 11.11 warning error

I have screen erron with HP-UX warning:select failed error code 9 :confused: (3 Replies)
Discussion started by: dcporras
3 Replies

7. Solaris

[ID 882636 kern.warning] WARNING: interrupt level 11 not serviced

Can anybody tell what this kernel warning is, it's critical (9 Replies)
Discussion started by: voxure
9 Replies

8. UNIX for Dummies Questions & Answers

Warning message while makefile compilation

Hi all, I am trying to create an executable, but when the .pc file converting to .c file I am getting lots of warning message like of these 3 lines. Any idea why I am getting these lines? Any configuration issues? What exactly needs to be done to solve these warning messages? ... (0 Replies)
Discussion started by: nsurendiran
0 Replies

9. What is on Your Mind?

BT Internet con - a warning

A warning... I used to be a BT Broadband customer, but changed to Sky in February. BT withdrew the service with the cutover and that was that. But I've just checked my credit card statements, and they've billed me for the service again for the past two months! (2 Replies)
Discussion started by: prowla
2 Replies

10. Programming

Compile time warning

Hi, I wish to know if we can generate customised compile time warning. say i have a code Obj * i = 0; while (true ) { if( ! i ) // some code that raise a warning while compilation .Not error i->somefunction(); } (2 Replies)
Discussion started by: wojtyla
2 Replies

11. Programming

gethostname warning

Hi, does anyone knows how to get rid of this annoying warning? Thank you! #include <netdb.h> main() { gethostbyname("test"); } $ gcc -static test.c /tmp/ccW9HG18.o: In function `main': test.c:(.text+0x19): warning: Using 'gethostbyname' in statically linked applications requires at... (3 Replies)
Discussion started by: paulquater
3 Replies

12. Programming

warning :extra tokens (ignored) after directive

hi I am getting the following warning while compilation of my C project. /var/tmp/aaaa003z6: warning: 101: extra tokens (ignored) after directive Can anyone help what this warning means and how to get rid of this. Thanks (1 Reply)
Discussion started by: pratim09
1 Replies

13. Shell Programming and Scripting

How do display a warning message?

Hello, I am teaching myself shell scripting and I was wondering if there was a way to rename a file and display a warning or prompt message? And if you had a file like /home/me/blah/ for example, what are the ways to use the CD to get to /me? Would it be ../home/me? Are there other ways to... (4 Replies)
Discussion started by: kris2010
4 Replies

14. Programming

conversion to 'char' from 'int' warning

Hi, I wrote a simple code in C++ converting from UpperToLower case characters. However, my compiler gives me a warning: "warning: conversion to 'char' from 'int' may alter its value". Any tips? I would like to stress, I don't want to load my string into char array. int ToLower(string... (4 Replies)
Discussion started by: kajolo
4 Replies

15. BSD

Mount root warning message

I see the following warning message during the boot sequence of any FreeBSD machine on stock hardware: acd0: FAILURE: READ_BIG ILLEGAL REQUEST asc=0x64 ascq=0x00 Trying to mount root from ufs:/dev/ad6s1 What does this mean and is it really a warning or something that should be fixed? ... (2 Replies)
Discussion started by: figaro
2 Replies