Thread: Get File Size

  1. #1
    Registered User
    Join Date
    Apr 2004
    Posts
    4

    Get File Size

    Hello!
    I have a little question:
    How can I determine fast file size in LINUX?

    Thank You!
    Bye!

  2. #2
    Code Goddess Prelude's Avatar
    Join Date
    Sep 2001
    Posts
    9,897
    >How can I determine fast file size in LINUX?
    man stat
    My best code is written with the delete key.

  3. #3
    Registered User
    Join Date
    Apr 2004
    Posts
    4

    C programming

    Thank you!
    You're right, but I want to do this in C code.

  4. #4
    Code Goddess Prelude's Avatar
    Join Date
    Sep 2001
    Posts
    9,897
    >but I want to do this in C code.
    You're looking at the wrong section. stat is "C code".
    My best code is written with the delete key.

  5. #5
    Registered User
    Join Date
    Apr 2004
    Posts
    4

    Thanks

    Thank you!
    Now I know how to use stat!
    You get me out from trouble, and I apreciaded very much your answer.
    THANKS again!
    BYE!

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. To find the memory leaks without using any tools
    By asadullah in forum C Programming
    Replies: 2
    Last Post: 05-12-2008, 07:54 AM
  2. Formatting the contents of a text file
    By dagorsul in forum C++ Programming
    Replies: 2
    Last Post: 04-29-2008, 12:36 PM
  3. Replies: 16
    Last Post: 11-23-2007, 01:48 PM
  4. help with text input
    By Alphawaves in forum C Programming
    Replies: 8
    Last Post: 04-08-2007, 04:54 PM
  5. archive format
    By Nor in forum A Brief History of Cprogramming.com
    Replies: 0
    Last Post: 08-05-2003, 07:01 PM