(C) 1998 AROS - The Amiga Research OS


NAME

ULONG CtoBStr (CString , BSTR , MaxLength)

LOCATION
In ArpBase at offset 60

SYNOPSIS
char * CString
BPTR BSTR
ULONG MaxLength

FUNCTION
This function copies a null terminated string into a BCPL string. The BCPL string is passed as an unconverted icky pointer.

INPUTS
CString
pointer to the string to convert.
BSTR
BPTR to the destination string.
MaxLength
- Number of characters available in BSTR (not including initial count byte.)
RESULT
Count -- actual number of characters transferred. A0 and A1 are zapped. ADDITIONAL NOTES: This function does NOT require A6 to be ArpBase. This info is for internal (library) use only! Within the Arp library you can bsr CtoBStr without setting A6 = ArpBase.

EXAMPLE
SEE ALSO

NOTES

BUGS

INTERNALS

HISTORY
20.10.1998 hkiel
Amiga Research OS
28.03.1998 bergers
Some new functions.