Quantcast
Channel: How do you get file size by fd? - Stack Overflow
Viewing all articles
Browse latest Browse all 4

How do you get file size by fd?

$
0
0

I know I can get file size of FILE * by fseek, but what I have is just a INT fd.

How can I get file size in this case?


Viewing all articles
Browse latest Browse all 4

Latest Images

Trending Articles





Latest Images