All Manuals > LispWorks® User Guide and Reference Manual > 45 The SQL Package

ora-lob-write-foreign-buffer Function

Summary

Writes a foreign buffer to a LOB.

Package

sql

Signature

ora-lob-write-foreign-buffer lob-locator offset amount foreign-buffer buffer-length &key buffer-offset csid => amount-written, eof-or-error-p

Arguments
lob-locator
A LOB locator.
offset
A non-negative integer or nil.
amount
A non-negative integer.
foreign-buffer
A FLI pointer.
buffer-length
A non-negative integer.
buffer-offset
A non-negative integer.
csid
A.Character Set ID.
Values
amount-written
A non-negative integer.
eof-or-error-p
A boolean or an error object.
Description

The function ora-lob-write-foreign-buffer writes to the LOB pointed to by lob-locator from buffer.

This is just like ora-lob-write-buffer except that it writes the LOB locator from a foreign buffer. See ora-lob-write-buffer for details of offset, amount, buffer-offset and csid.

foreign-buffer is a FLI pointer to a buffer, which must be of size at least buffer-length.

Notes

ora-lob-write-foreign-buffer is available only when the "oracle" module is loaded. See the section 23.11 Oracle LOB interface for more information.

See also

ora-lob-get-buffer
ora-lob-write-buffer


LispWorks® User Guide and Reference Manual - 01 Dec 2021 19:30:56