Finding size of a file from a program
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
- Subject: Finding size of a file from a program
- From: "Pharaoh ." <pharaoh137@xxxxxxxxx>
- Date: Fri, 19 Jan 2007 12:49:56 +0530
Hi
How to find size of a file from a userspace program without using shell commmands with system() etc?
I want to allocate a buffer and read the entire contents of a file, I know this is not good for large files, but I am just
experimenting with small file currently so this is good enough. Is there any system call available for this?
[Index of Archives]
[Newbies FAQ]
[Linux Kernel Mentors]
[Linux Kernel Development]
[IETF Annouce]
[Git]
[Networking]
[Security]
[Bugtraq]
[Yosemite]
[MIPS Linux]
[ARM Linux]
[Linux RAID]
[Linux SCSI]
[Linux ACPI]