> > The generic method would basically have the same interface as ioctl()
> > or fcntl(), with the fd replaced by a pointer to the function name.
> 
> Actually, the easiest way if to make a sysctl that exports the syscall
> number to useland.
> 
> mysubsystem.foosyscall: 188

but there is a problem with syscall() in that according to
the manpages it cannot handle in/out parameters as instead
it is supported by ioctl/fcntl

am i mistaken ?

        cheers
        luigi



To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message

Reply via email to