On Wed, Oct 28, 1998 at 07:28:43PM -0800, Salil Kumar wrote:
Hi,
How can we change the time on a sym link through a C program ?
look at utime (man 2 utime)
ixx wrote:
On Wed, Oct 28, 1998 at 07:28:43PM -0800, Salil Kumar wrote:
Hi,
How can we change the time on a sym link through a C program ?
look at utime (man 2 utime)
Hi,I think utime change the time for the file pointed by sym link.
I need to change the time of symlink only.
Any other
Salil Kumar wrote:
I need to change the time of symlink only.
Any other suggestions ?
I think the only way is to use the time/date hack.
1. remove the link
2. set the clock to when the link should be modified
3. recreate the link
4. reset the clock to current date/time.
There are wery few
Henrik Nordstrom wrote:
Salil Kumar wrote:
I need to change the time of symlink only.
Any other suggestions ?
I think the only way is to use the time/date hack.
1. remove the link
2. set the clock to when the link should be modified
3. recreate the link
4. reset the clock to
Salil Kumar wrote:
Thanks for the suggestion, but If we change system time, and
if the next CPU slice goesto some utility acting on system time,
(cron jobs etc.) will not this solution work adversely ?
Yes. There are some major drawbacks from changing the system time.
Currenty I am
Salil Kumar wrote:
I need to change the time of symlink only.
Any other suggestions ?
I think the only way is to use the time/date hack.
1. remove the link
2. set the clock to when the link should be modified
3. recreate the link
4. reset the clock to current date/time.
Hi,
How can we change the time on a sym link through a C program ?
Thanks,
-Salil
-