Re: How to change system time in Mach-O on OS X
Re: How to change system time in Mach-O on OS X
- Subject: Re: How to change system time in Mach-O on OS X
- From: Andrew Pinski <email@hidden>
- Date: Tue, 27 Aug 2002 09:04:54 -0400
try settimeofday(2)
Thanks,
Andrew Pinski
PS you have to be root to change the date though.
On Tuesday, Aug 27, 2002, at 07:48 US/Eastern, Bhavdeep Sharma wrote:
Hi,
I need to change the System time.
I used the SetDateTime() (defined in OSUtils.h).
On OS X in Carbon environment it gets compiled and linked fine.
But in Mach-O it gives the compilation error. Please suggest the
equivalent
Mach-O function that
can change the system time.
Thanks in advance.
Bhavdeep
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.