04-15-04 12:02 PM
quote: Originally posted by Fletcher Glenn
Kasee Palaniappan BE Msc wrote:
> Hi,
> Is there any one, who could help me in knowing the header of the any
> text file. I know there should be a header for each and every file,
> which says the file size, file name, file exensions and so on. but I
> could not find the exact details.
It's not a header, it's a directory entry. For access to directory
information of any file, look at the man pages for opendir() and
readdir(). For just one file, you can also look at stat() or fstat().
--
Fletcher Glenn
Hi
Thanks very much. My problem is, I would like to change a number of file nam
es to other file names. For example, the file name of the one created from D
igital Cameras are funny so I would like to change them without using any sh
ell scripts, but with only C System level commands.
With regards
Kasee Palaniappan BE Msc
www.geocities.com/kasee_pl
[ Post a follow-up to this message ]
|