Solar_OS API Reference
You are here:
Main ->
Utility API
Str_Len PROC STDCALL
ARG @@src_ptr:DWORD
This function will calculate the length of source string.
It works with ASCII null terminated strings.
Arguments:
| Argument |
Type |
Description |
|
src_ptr
|
dword
|
pointer to source string
|
Returns:
- EAX = length of string without null terminator
Posible Errors:
- source string is not null terminated
Remarks:
-
No check is made for memory bounds.
-
A null string will return zero as length
See Also
Str_Copy