isFileLocked()  lockEnforceOff()

Chapter 5: General Objects and Methods

isSegLocked()

Description

Determines if the specified portion of an I/O file object associated file is locked.

Syntax

isSegLocked(long size);

Parameter

Description

size

Number of bytes to examine for a lock.

Return value

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

Usage

Pointer to object

Object

long num;num = 3295piof->isSegLocked(num);

long num;num = 3295;my_iofobj.isSegLocked(num);





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

View this book as PDF