(C) 1998 AROS - The Amiga Research OS


NAME

ULONG BtoCStr (CString , BSTR , MaxLength)

LOCATION
In ArpBase at offset 59

SYNOPSIS
char * CString
BPTR BSTR
ULONG MaxLength

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

INPUTS
CString
Pointer to a buffer area for the resulting string.
BSTR
BPTR to the BSTR to convert.
MaxLength
Maximum number of characters in buffer (not including NULL terminator).
RESULT
Count -- Actual number of characters copied. A0 has START of C string for assembly convenience. ADDITIONAL NOTES: This function does NOT require A6 to be ArpBase. This info if 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.