|Oracle Call Interface Programmer's Guide
Release 2 (9.2)
Part Number A96584-01
More OCI Relational Functions, 25 of 106
Gets the FILE locator's directory alias and file name.
sword OCILobFileGetName ( OCIEnv *envhp, OCIError *errhp, CONST OCILobLocator *filep, text *dir_alias, ub2 *d_length, text *filename, ub2 *f_length );
OCI environment handle.
An error handle you can pass to
OCIErrorGet() for diagnostic information in the event of an error.
FILE locator for which to get the directory alias and file name.
Buffer into which the directory alias name is placed. This can be in UTF-16. You must allocate enough space for the directory alias name. The maximum length for the directory alias is 30 bytes.
Serves the following purposes (can be in codepoint for Unicode, or bytes):
Buffer into which the file name is placed. You must allocate enough space for the file name. The maximum length for the file name is 255 bytes.
Serves the following purposes (in number of bytes):
Returns the directory alias and file name associated with this FILE locator. The environment handle determines whether or not it is in Unicode. It is an error to call this function for an internal LOB.
For more information about FILEs, refer to the description of BFILEs in the Oracle8i Application Developer's Guide - Large Objects (LOBs).