From: ra don Date: 2011-02-24T07:31:05+09:00 Subject: Re: Console output formatting RubyDL looks like it would work but can't find any good docs. Here is what I got down. require 'dl' me = "" clib = DL.dlopen("libc.so.6") message = "Hello\n" printf("Testing: %s", message) clib.scanf("%s", me) printf("danrn, %s!\n", me) puts message running in irb i get no errors loading but the printf throws an error if I put clib. in front of it. The scanf gets throws an error also. I know I am doing something incorrectly but I don't know what. Thanks for your help and info. -- Posted via http://www.ruby-forum.com/.