| Allegro CL version 8.2 Unrevised from 8.1 to 8.2. 8.1 version |
Arguments: vector8 &key address aligned (length (position 0 vector8))
This function returns an address.
This function copies the 8-bit bytes from vector8, a (simple-array (unsigned-byte 8) (*)) array, into static (i.e., non-lisp heap) memory and returns an address to the first character of that data.
If the address argument is specified, then its value will be used (and returned) as the destination address and new memory will not be allocated. If the address argument is not specified, then the resulting memory must be passed to aclfree to be reclaimed.
If the aligned keyword argument is true, then address is an aligned address. Aligned addresses are returned by functions like lispval-to-aligned-malloc-address.
If the length argument is specified, then it specifies the number of elements to copy.
In earlier releases, this function was called
mb-to-native
. That name is preserved for backward
compatibility, but new code should use the new name.
See also iacl.htm for general information on international character set support in Allegro CL and see native-to-octets and string-to-native.
Copyright (c) 1998-2016, Franz Inc. Oakland, CA., USA. All rights reserved.
This page was not revised from the 8.1 page.
Created 2010.1.21.
| Allegro CL version 8.2 Unrevised from 8.1 to 8.2. 8.1 version |