On Tuesday 29 January 2008, Kathiresan, Lekshmanan wrote: > Hi All, > > > > I want to print current date and time in a kernel module. > > 1) do we have direct functions that we could use in kernel? > > > > 2) Can get time from epoch using gettimeofday? So, how do I convert > it to the current date and time string. Is there something similar to > > userspace ctime in kernel? > > If anybody have wrapper function getting time from secondd please send > it me... > > > > With Thanks & Regards, > > K. Lekshmanan I think, this answer was sufficiently answered on 22.1.2008 by Erik. And I think also, repeating the question over and over will not change the answer. gerd Kontron Modular Computers GmbH Geschaeftsfuehrer / Managing Directors: Ulrich Gehrmann, Thomas Sabisch Sitz der Gesellschaft / Registered Office: Kaufbeuren, Rechtsform / Legal: GmbH Amtsgericht / Local District Court Kempten, HRB Nr. / Trade Register No. 6195 The information contained in this document is CONFIDENTIAL and property of Kontron. Any unauthorized review, use, disclosure or distribution is prohibited without express written consent of Kontron. If you are not the intended recipient, please contact the sender and destroy all copies of the original message and enclosed attachments. Diese E-Mail enthaelt vertrauliche und/oder rechtlich geschuetzte Informationen und ist Eigentum von Kontron. Die Verwendung und Weitergabe von jeglichen Inhalten ist ohne ausdrueckliche schriftliche Genehmigung von Kontron strikt untersagt. Wenn Sie diese E-Mail irrtuemlich erhalten haben, informieren Sie bitte sofort den Absender und vernichten diese Mail und enthaltene Dokumente. -- To unsubscribe from this list: send an email with "unsubscribe kernelnewbies" to ecartis@xxxxxxxxxxxx Please read the FAQ at http://kernelnewbies.org/FAQ