module Facter::Resolvers::Solaris::FFI::Ioctl
Public Class Methods
ioctl(call_const, pointer, address_family = AF_INET)
click to toggle source
# File lib/facter/resolvers/solaris/ffi/functions.rb, line 15 def self.ioctl(call_const, pointer, address_family = AF_INET) fd = Ioctl.open_socket(address_family, SOCK_DGRAM, 0) result = ioctl_base(fd, call_const, pointer) Ioctl.close_socket(fd, 2) result end