module VirtFS::CamcorderFS::CcDelegate::FileInstanceMethods

Public Instance Methods

file_i_atime(instance_handle) click to toggle source

File instance methods - implementation.

# File lib/virtfs/camcorderfs/cc_delegate/file_instance_methods.rb, line 11
def file_i_atime(instance_handle)
  instance_call(:atime, instance_handle)
end
file_i_chmod(instance_handle, permission) click to toggle source
# File lib/virtfs/camcorderfs/cc_delegate/file_instance_methods.rb, line 15
def file_i_chmod(instance_handle, permission)
  instance_call(:chmod, instance_handle, permission)
end
file_i_chown(instance_handle, owner, group) click to toggle source
# File lib/virtfs/camcorderfs/cc_delegate/file_instance_methods.rb, line 19
def file_i_chown(instance_handle, owner, group)
  instance_call(:chown, instance_handle, owner, group)
end
file_i_close(instance_handle) click to toggle source

IO instance methods.

# File lib/virtfs/camcorderfs/cc_delegate/file_instance_methods.rb, line 50
def file_i_close(instance_handle)
  instance_call(:close, instance_handle)
end
file_i_close_on_exec=(instance_handle, bool_val) click to toggle source
# File lib/virtfs/camcorderfs/cc_delegate/file_instance_methods.rb, line 58
def file_i_close_on_exec=(instance_handle, bool_val)
  instance_call(:close_on_exec=, instance_handle, bool_val)
end
file_i_close_on_exec?(instance_handle) click to toggle source
# File lib/virtfs/camcorderfs/cc_delegate/file_instance_methods.rb, line 54
def file_i_close_on_exec?(instance_handle)
  instance_call(:close_on_exec?, instance_handle)
end
file_i_close_read(instance_handle) click to toggle source
# File lib/virtfs/camcorderfs/cc_delegate/file_instance_methods.rb, line 62
def file_i_close_read(instance_handle)
  instance_call(:close_read, instance_handle)
end
file_i_close_write(instance_handle) click to toggle source
# File lib/virtfs/camcorderfs/cc_delegate/file_instance_methods.rb, line 66
def file_i_close_write(instance_handle)
  instance_call(:close_write, instance_handle)
end
file_i_ctime(instance_handle) click to toggle source
# File lib/virtfs/camcorderfs/cc_delegate/file_instance_methods.rb, line 23
def file_i_ctime(instance_handle)
  instance_call(:ctime, instance_handle)
end
file_i_fcntl(instance_handle, cmd, arg) click to toggle source
# File lib/virtfs/camcorderfs/cc_delegate/file_instance_methods.rb, line 70
def file_i_fcntl(instance_handle, cmd, arg)
  instance_call(:fcntl, instance_handle, cmd, arg)
end
file_i_fdatasync(instance_handle) click to toggle source
# File lib/virtfs/camcorderfs/cc_delegate/file_instance_methods.rb, line 74
def file_i_fdatasync(instance_handle)
  instance_call(:fdatasync, instance_handle)
end
file_i_fileno(instance_handle) click to toggle source
# File lib/virtfs/camcorderfs/cc_delegate/file_instance_methods.rb, line 78
def file_i_fileno(instance_handle)
  instance_call(:fileno, instance_handle)
end
file_i_flock(instance_handle, locking_constant) click to toggle source
# File lib/virtfs/camcorderfs/cc_delegate/file_instance_methods.rb, line 27
def file_i_flock(instance_handle, locking_constant)
  instance_call(:flock, instance_handle, locking_constant)
end
file_i_flush(instance_handle) click to toggle source
# File lib/virtfs/camcorderfs/cc_delegate/file_instance_methods.rb, line 82
def file_i_flush(instance_handle)
  instance_call(:flush, instance_handle)
end
file_i_fsync(instance_handle) click to toggle source
# File lib/virtfs/camcorderfs/cc_delegate/file_instance_methods.rb, line 86
def file_i_fsync(instance_handle)
  instance_call(:fsync, instance_handle)
end
file_i_ioctl(instance_handle, cms, arg) click to toggle source
# File lib/virtfs/camcorderfs/cc_delegate/file_instance_methods.rb, line 90
def file_i_ioctl(instance_handle, cms, arg)
  instance_call(:ioctl, instance_handle, cms, arg)
end
file_i_isatty(instance_handle) click to toggle source
# File lib/virtfs/camcorderfs/cc_delegate/file_instance_methods.rb, line 94
def file_i_isatty(instance_handle)
  instance_call(:isatty, instance_handle)
end
file_i_lstat(instance_handle) click to toggle source
# File lib/virtfs/camcorderfs/cc_delegate/file_instance_methods.rb, line 31
def file_i_lstat(instance_handle)
  VirtFS::Stat.new(instance_call(:lstat, instance_handle))
end
file_i_mtime(instance_handle) click to toggle source
# File lib/virtfs/camcorderfs/cc_delegate/file_instance_methods.rb, line 35
def file_i_mtime(instance_handle)
  instance_call(:mtime, instance_handle)
end
file_i_pid(instance_handle) click to toggle source
# File lib/virtfs/camcorderfs/cc_delegate/file_instance_methods.rb, line 98
def file_i_pid(instance_handle)
  instance_call(:pid, instance_handle)
end
file_i_raw_read(instance_handle, start_byte, num_bytes) click to toggle source
# File lib/virtfs/camcorderfs/cc_delegate/file_instance_methods.rb, line 102
def file_i_raw_read(instance_handle, start_byte, num_bytes)
  instance_handle.sysseek(start_byte, IO::SEEK_SET)
  instance_handle.sysread(num_bytes)
end
file_i_raw_write(instance_handle, start_byte, buf) click to toggle source
# File lib/virtfs/camcorderfs/cc_delegate/file_instance_methods.rb, line 107
def file_i_raw_write(instance_handle, start_byte, buf)
  instance_handle.sysseek(start_byte, IO::SEEK_SET)
  instance_handle.syswrite(buf)
end
file_i_read_nonblock(instance_handle, limit, result) click to toggle source
# File lib/virtfs/camcorderfs/cc_delegate/file_instance_methods.rb, line 116
def file_i_read_nonblock(instance_handle, limit, result)
  instance_call(:read_nonblock, instance_handle, limit, result)
end
file_i_readpartial(instance_handle, limit, result) click to toggle source
# File lib/virtfs/camcorderfs/cc_delegate/file_instance_methods.rb, line 112
def file_i_readpartial(instance_handle, limit, result)
  instance_call(:readpartial, instance_handle, limit, result)
end
file_i_size(instance_handle) click to toggle source
# File lib/virtfs/camcorderfs/cc_delegate/file_instance_methods.rb, line 39
def file_i_size(instance_handle)
  instance_call(:size, instance_handle)
end
file_i_stat(instance_handle) click to toggle source
# File lib/virtfs/camcorderfs/cc_delegate/file_instance_methods.rb, line 120
def file_i_stat(instance_handle)
  VirtFS::Stat.new(instance_call(:stat, instance_handle))
end
file_i_sync(instance_handle) click to toggle source
# File lib/virtfs/camcorderfs/cc_delegate/file_instance_methods.rb, line 124
def file_i_sync(instance_handle)
  instance_call(:sync, instance_handle)
end
file_i_sync=(instance_handle, bool_val) click to toggle source
# File lib/virtfs/camcorderfs/cc_delegate/file_instance_methods.rb, line 128
def file_i_sync=(instance_handle, bool_val)
  instance_call(:sync=, instance_handle, bool_val)
end
file_i_to_i(instance_handle) click to toggle source
# File lib/virtfs/camcorderfs/cc_delegate/file_instance_methods.rb, line 132
def file_i_to_i(instance_handle)
  instance_call(:to_i, instance_handle)
end
file_i_truncate(instance_handle, to_size) click to toggle source
# File lib/virtfs/camcorderfs/cc_delegate/file_instance_methods.rb, line 43
def file_i_truncate(instance_handle, to_size)
  instance_call(:truncate, instance_handle, to_size)
end
file_i_tty?(instance_handle) click to toggle source
# File lib/virtfs/camcorderfs/cc_delegate/file_instance_methods.rb, line 136
def file_i_tty?(instance_handle)
  instance_call(:tty?, instance_handle)
end
file_i_write_nonblock(instance_handle, buf) click to toggle source
# File lib/virtfs/camcorderfs/cc_delegate/file_instance_methods.rb, line 140
def file_i_write_nonblock(instance_handle, buf)
  instance_call(:write_nonblock, instance_handle, buf)
end