ext/dl/sample/getch.rb


DEFINITIONS

This source file includes following functions.


   1  require 'dl'
   2  
   3  crtdll = DL::dlopen("crtdll")
   4  getch  = crtdll['_getch', 'L']
   5  print(getch.call, "\n")