OutputIntegerItem

int OutputIntegerItem (FILE *stream, void *pointerToItem);

Purpose

This function is used for writing out lists of integers.

To output a list of integers, call OutputList and pass this function as the itemOutputFunction parameter.

Parameters

Input
Name Type Description
stream FILE * This parameter specifies which FILE* stream to output the item to. If stdout is specified, then the item is sent to the standard output device which is usually the Standard Input/Output window.
pointerToItem void * This parameter is interpreted as a pointer to an integer. (type (int *)). This integer is written to the specified stream.

Return Value

Name Type Description
numberOfCharacterWritten integer Returns the number of characters written, or a negative number if an error occurred.