@@ -514,10 +514,15 @@ if ((ret = lseek(fd, offset, SEEK_END)) == -1) @throw [OFSeekFailedException newWithClass: isa]; return ret; } + +- (int)fileDescriptor +{ + return fd; +} - (void)close { if (fd != -1) close(fd);