| Summary |
#include <string.h>
size_t fstrlen (
char far *src); /* source string */
|
| Description | The fstrlen function calculates the length, in bytes, of src. This calculation does not include the null terminating character. Note - This function uses far pointers to objects and may be used in any memory model other than Tiny Model.
|
| Return Value | The fstrlen function returns the length of src. |
| See Also | fstrcat, fstrchr, fstrcmp, fstrcpy, fstrcspn, fstrncat, fstrncmp, fstrncpy, fstrpbrk, fstrpos, fstrrchr, fstrrpbrk, fstrrpos, fstrspn |
| Example |
#include <string.h>
#include <stdio.h> /* for printf */
void tst_strlen (char far *buf) {
int len;
len = fstrlen (buf);
printf ("string length is %d\n", len);
}
|