public virtual RC SetFileControl(FCNTL op, ref long pArg) { switch (op) { case FCNTL.LOCKSTATE: pArg = (int)Locktype; return(RC.OK); case FCNTL.LAST_ERRNO: pArg = (int)LastErrno; return(RC.OK); case FCNTL.CHUNK_SIZE: Chunk = (int)pArg; return(RC.OK); case FCNTL.SIZE_HINT: var sz = (long)pArg; Truncate(sz); return(RC.OK); case FCNTL.SYNC_OMITTED: return(RC.OK); } return(RC.NOTFOUND); }
public override RC SetFileControl(FCNTL op, ref long pArg) { return(RC.NOTFOUND); }
public override RC SetFileControl(FCNTL op, ref long pArg) { return RC.NOTFOUND; }
public virtual RC FileControl(FCNTL op, ref long arg) { return(RC.NOTFOUND); }
public virtual RC SetFileControl(FCNTL op, ref long pArg) { switch (op) { case FCNTL.LOCKSTATE: pArg = (int)Locktype; return RC.OK; case FCNTL.LAST_ERRNO: pArg = (int)LastErrno; return RC.OK; case FCNTL.CHUNK_SIZE: Chunk = (int)pArg; return RC.OK; case FCNTL.SIZE_HINT: var sz = (long)pArg; Truncate(sz); return RC.OK; case FCNTL.SYNC_OMITTED: return RC.OK; } return RC.NOTFOUND; }
public virtual RC FileControl(FCNTL op, ref long arg) { return RC.NOTFOUND; }