fixPerms()  getPathName()

Chapter 5: General Objects and Methods

getFileName()

Description

Retrieves the name of the file associated with the I/O file object.

Syntax

getFileName(string *name);

Parameter

Description

name

Pointer to the string in which to put the filename of the associated file.

Return value

Integer. Returns 1 for success, and 0 for failure.

Usage

Pointer to object

Object

string name;

piof->getFileName(&name)

string name;

my_iofobj.getFileName(&name);





Copyright © 2005. Sybase Inc. All rights reserved. getPathName()

View this book as PDF