Admin Production ni-theme
Current Publication

OutputStringItem

LabWindows/CVI

OutputStringItem

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

Purpose

This function is used for writing out lists of pointers to strings.

To output a list of pointers to strings, 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 you specify stdout, then the item is sent to the standard output device, which is usually the console window.
pointerToItem void * This parameter is interpreted as a pointer to a string pointer. (type (char **)). This string is written to the specified stream.

Return Value

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

Additional Information

Library: Programmer's Toolbox

Include file: toolbox\toolbox.h

LabWindows/CVI compatibility: LabWindows/CVI 4.0 and later