Re: Formatting timestamps in the kernel

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, 17 Sep 2013 16:18:51 -0700, Neil Baylis said:

> I think I read somewhere that timezones are considered a userspace concept,
> and as such are not supported within the kernel.

Correct.

Your best bet is probably to use "seconds and fractions since boot", since
you can steal all the code you need from printk().  Next best is to use
epoch seconds and fractions.

Attachment: pgpri3qtbA2qv.pgp
Description: PGP signature

_______________________________________________
Kernelnewbies mailing list
Kernelnewbies@xxxxxxxxxxxxxxxxx
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies

[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux