int NumFmtdBytes (void);
Returns the number of bytes formatted or scanned by the previous formatting or scanning call.
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. */
None.
Name | Type | Description |
n | integer | 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. |