NumFmtdBytes
int NumFmtdBytes (void);
Purpose
Returns the number of bytes formatted or scanned by the previous formatting or scanning call.
Example Code
double f;
int n;
Scan ("3.1416", "%s>%f", &f);
n = NumFmtdBytes ();
/* n will have the value 6, indicating that */
/* 6 bytes were scanned from the source string. */
Parameters
None.
Return Value
Name | Type | Description |
BytesFormatted | int | If the previous call was a formatting call, n represents the number of bytes placed into the target. If the previous call was a scanning call, n represents the number of bytes scanned from the source. n is undefined if there are no preceding formatting or scanning calls. |
Additional Information
Library: Formatting and I/O Library
Include file: formatio.h
LabWindows/CVI compatibility: LabWindows/CVI 3.0 and later