next up previous contents index
Next: Operating System and Input/Output Up: Utility Functions Previous: String Manipulation and Conversion   Contents   Index

String and Array Size

(int) Strlen(string)
This function returns the number of characters in string.

(int) Sizeof(arg)
This function returns the allocated size of the argument, which is mostly useful for determining the size of an array. The return value is

string length arg is a string
allocated array size arg is an array
number of trapezoids arg is a zoidlist
1 arg is none of above



Stephen R. Whiteley 2006-10-23