Re: getting file attributes
From: Barry Kimelman (bkimelman_at_DELETEME.sc.rr.com)
Date: 08/31/04
- Previous message: Rich Teer: "Re: equivalent to far in linux/unix"
- In reply to: satish challa: "getting file attributes"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Mon, 30 Aug 2004 22:25:47 GMT
[This followup was posted to comp.unix.programmer]
While wandering through cyberspace on 28 Aug 2004 22:59:45 -0700 satish
challa said :
> Hi,
> i want to the know the following,could any of u tell me.
> How to get the attributes of a file(Linux) through a C program
> like the time,the file last modified,last accessed etc.
the "stat" or "lstat" system calls can get you the informatiion you need
> How to check the System time in C,are there any functions defined
> in time.h or any system calls.
the "time" function can give you the system time (in seconds elapsed
since the great beginning)
> How to access a remote file through a C program.
> Thank you
>
- Previous message: Rich Teer: "Re: equivalent to far in linux/unix"
- In reply to: satish challa: "getting file attributes"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]