Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Current »

Determines the length of a string.

Files

lib_str.h/lib_str.c

Prototype

Arguments

pstr

Pointer to the string.

Returned Value

Length of string, in number of characters, before, but not including, the terminating NULL character.

Required Configuration

None.

Notes / Warnings

String buffer not modified.

String length calculation terminates if string pointer points to or overlaps the NULL address.

Example Usage

  • No labels