hi all,
I am writing a small program to set the system time.I tried to using stime, but I 
think that I am passing some wrong information to the function stime, as after using 
it, the system time is set to Jan 1 1970 and kde session gets killed. 
For stime, do I need to fill all the members of the structure struct tm or just few 
(sec,min, hour, day, mon, year) can be filled and then used?
Please help.
Thanx in anticipation.
Vikas

PS:The error shown for kde is 
nit: Fatal IO error: client killed
kdeinit: sending SIGHUP to children.
warning: leaving MCOP Dispatcher and still 9 object references alive.
  - Arts::SampleStorage
  - Arts::Synth_MULTI_ADD
  - Arts::Synth_MULTI_ADD
  - Arts::Synth_PLAY
  - Arts::StereoVolumeControl
  - Arts::StereoEffectStack
  - Arts::Synth_BUS_DOWNLINK
  - Arts::SoundServerV2
  - Arts::MidiManager
warning: leaving MCOP Dispatcher and still 69 types alive.
KLauncher: Exiting on signal 1
xinit:  connection to X server lost.
kicker: sighandler called
*** kdesktop got signal 1 (Exiting)
[EMAIL PROTECTED] root]# startxkdeinit: sending SIGTERM to children.
kdeinit: Exit.



_______________________________________________
ilugd mailing list
[EMAIL PROTECTED]
http://frodo.hserus.net/mailman/listinfo/ilugd

Reply via email to