Simple case, something like printf(str, [arg1, arg2, ...])
How would I write a ruby 'attach_function' call using FFI to utilize such a function?
I'm surprised that I can't find this question answered through my googling, but perhaps I'm using the wrong terminology.
-- update -- Perhaps I was not clear enough. I am already in the middle of writing a RubyGem that interfaces with a C library. Its working just fine already. I'm using FFI and was going along just fine until I hit this function with a variable argument list.