AsyncFile.size

long size() @trusted

Query the file size.

This is a synchronous operation that does not use the thread pool.

Returns

File size in bytes, or -1 on error with errno set.