LispWorks User Guide and Reference Manual > 38 The SQL Package

NextPrevUpTopContentsIndex

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.

forreign-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.

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

Note: this function is available only when the "oracle" module is loaded. See the section Oracle LOB interface for more information.

See also

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


LispWorks User Guide and Reference Manual - 22 Dec 2009

NextPrevUpTopContentsIndex