[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: File size question
- To: "Edward Gold" <avieal(at-nospam)inter.net.il>, <linux-il(at-nospam)linux.org.il>
- Subject: Re: File size question
- From: "Oded Arbel" <oded(at-nospam)geek.co.il>
- Date: Tue, 12 Dec 2000 15:53:42 +0200
- Delivered-To: linux.org.il-linux-il@linux.org.il
- References: <3A36281C.300CDCA5@inter.net.il>
- Sender: linux-il-bounce(at-nospam)cs.huji.ac.il
stat, or fstat
look at :
man 2 stat
Oded
..
"It's God. No, not Richard Stallman, or Linus Torvalds, but God."
(By Matt Welsh)
----- Original Message -----
From: "Edward Gold" <avieal@inter.net.il>
To: <linux-il@linux.org.il>
Sent: Tuesday, December 12, 2000 15:29
Subject: File size question
> Is there a system call that will give a file size (given it's name &
> path) ?
> I know that a possible answer can be the use of the system() call, and
> using ls -l| sort -bn +4 from the shell it open- but I'm looking for
> something more simple.
>
> Thanks
>
>
> =================================================================
> To unsubscribe, send mail to linux-il-request@linux.org.il with
> the word "unsubscribe" in the message body, e.g., run the command
> echo unsubscribe | mail linux-il-request@linux.org.il
>
>
=================================================================
To unsubscribe, send mail to linux-il-request@linux.org.il with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail linux-il-request@linux.org.il