MorePalmOS
A development library for developing Palm OS applications

MoreStringMgr.c File Reference

#include "MorePrefix.h"
#include "MoreStringMgr.h"
#include "MorePrivate.h"

Include dependency graph for MoreStringMgr.c:

Include dependency graph

Go to the source code of this file.


Functions

UInt16 MStrLen (const Char *src)
 Returns length of a string. NULL safe.

Function Documentation

UInt16 MStrLen const Char *  src  ) 
 

Returns length of a string. NULL safe.

Uses StrLen to return the length of a string, unless the string is NULL. Then, 0 is returned without any fuss.

Definition at line 21 of file MoreStringMgr.c.

00022 {
00023         if ( src )
00024                 return StrLen( src );
00025         else
00026                 return 0;
00027 }

SourceForge.net Logo