Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ xil_toss(3) — SunOS 5.6

Media Vault

Software Library

Restoration Projects

Artifacts Sought

xil_toss(3)

NAME

xil_toss − throw away the contents of an image without destroying it

SYNOPSIS

#include <xil/xil.h>

void xil_toss (XilImage image);

DESCRIPTION

This function throws away the contents of an image without destroying it.  This function provides a way to inform the XIL library that the user is no longer concerned about the contents of an image.  After xil_toss(3) is called, the contents of the image is undefined. 

This function can sometimes be useful for code optimization.  Sometimes the XIL library will perform more optimally if xil_toss (3) is called when the results of an intermediate operation are no longer needed.  When used properly, this function will not change the results of operations. 

xil_toss(3) will set the image’s state to "invalid".  Invalid images cannot be used as the source for an operation without first being used as a destination or having their storage set. 

ERRORS

For a complete list of XIL error messages by number, consult Appendix B of the XIL Programmer’s Guide. 
 

SunOS 5.6  —  Last change: 17 August 1993

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026