Find the answer to your Linux question:
Results 1 to 2 of 2
Hi , i try to set time via programming ,using c programming.I try to set time by using this code "ioctl(fd,RTC_SET_TIME,&rtc_tm)"....But i got an error state that 'permission denied'. How ...
  1. #1
    zam
    zam is offline
    Just Joined!
    Join Date
    Feb 2009
    Posts
    3

    set date time by using c programming

    Hi ,
    i try to set time via programming ,using c programming.I try to set time by using this code
    "ioctl(fd,RTC_SET_TIME,&rtc_tm)"....But i got an error state that 'permission denied'.
    How to solve this problem?

  2. #2
    Super Moderator devils casper's Avatar
    Join Date
    Jun 2006
    Location
    Chandigarh, India
    Posts
    24,316
    Hi and Welcome zam !

    I have deleted duplicate threads posted by you. Duplicate threads are not allowed here. Its against Forum Rules.
    Please continue here only.
    It is amazing what you can accomplish if you do not care who gets the credit.
    New Users: Read This First

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
...