FD_FILESTAT_GET

Return the attributes of an open file.

(@interface func (export "fd_filestat_get")
(param $fd $fd)
;;; The buffer where the file's attributes are stored.
(result $error (expected $filestat (error $errno)))
)