Home  Contents

rawio:fd

Rawio Core4 Lua Event System

SYNOPSIS

fd = handle:fd()

DESCRIPTION

Returns the numeric file descriptor associated with the open file handle.

RETURN VALUE

A number, the file descriptor.

EXAMPLE

>  > 
handle = rawio.open("/dev/null") print(handle:fd())
4

SEE ALSO