Signature
s64 file_tell(u64 h)
Parameters
h : handle from file_open()
return value : the current absolute byte offset
Returns a handle's current read/write offset, as moved by file_read(), file_write(), and file_seek().
Example
u64 h = file_open("/tmp/doc-tell.txt", "w");
file_write(h, "hello");
print("offset is ", file_tell(h), "\n");
file_close(h);
Output
offset is 5