National Instruments 320682C Musical Toy Instrument User Manual


 
Chapter 2 Formatting and I/O Library
© National Instruments Corporation 2-29 LabWindows/CVI Standard Libraries
Return Value
None
StringUpperCase
void StringUpperCase (char string[]);
Purpose
Converts all lowercase alphabetic characters in the NUL-terminated string to uppercase.
Parameter
Input/Output
string
String.
Return Value
None
WriteFile
int n = WriteFile (int fileHandle, char *buffer, unsigned int count);
Purpose
Writes up to count bytes of data from buffer to a file or to STDOUT. Writing starts at the
current position of the file pointer, and when the function completes, the file pointer is
incremented by the number of bytes written.
Parameters
Input
fileHandle
integer File handle.
buffer
string Data buffer.
count
integer Number of bytes to write.
Return Value
n
integer Number of bytes written to the
file.