Thanks Brett: I spent hours asking google in every way I could think of.
Thanks its what I need. <mike> --- In [email protected], "Brett McCoy" <[EMAIL PROTECTED]> wrote: > > On Tue, Mar 4, 2008 at 1:23 PM, mikejd42 <[EMAIL PROTECTED]> wrote: > > > I am writing a program that needs to update a files date and time. > > I could do a system call to touch but would rather code this clean. > > > > Can anyone tell me how to go about this. I am coding on Unix Solaris. > > utime() is the POSIX function that does this. > > -- Brett > ------------------------------------------------------------ > "In the rhythm of music a secret is hidden; > If I were to divulge it, it would overturn the world." > -- Jelaleddin Rumi >
