_io_file_size

func _io_file_size(fd: Int) 'io -> Int

The byte size of the file behind a descriptor (POSIX fstat), or a negative errno.

View Source
pub func _io_file_size(fd: Int) 'io -> Int {
	'io(request: .file_size(fd))
}