Closing file descriptors

Here’s a question I never thought I’d have to ask – how do I close a
file descriptor opened via IO.sysopen ?

-mental

On Apr 24, 2007, at 5:45 PM, MenTaLguY wrote:

Here’s a question I never thought I’d have to ask – how do I close
a file descriptor opened via IO.sysopen ?

IO.new(IO.sysopen(path)).close

Seems a bit round-about though.

Gary W.