Date: Fri, 26 May 2006 22:59:18 +0200 From: Ulf Lilleengen <lulf@stud.ntnu.no> To: freebsd-hackers@freebsd.org Subject: Formatting time in kernel Message-ID: <20060526205917.GA12965@stud.ntnu.no>
next in thread | raw e-mail | index | archive | help
Hi, I've been looking through the kernel code the past few days, but I have not found what I'm looking for, which is a way to format "struct timeval" for output in the same matter as the ctime(3) in the standard libc. I keep thinking how this part of the code should not be in kernel because of this, but things will be vastly more complicated if not because of the whole gvinum structure. (This is for use in the gvinum dumpconfig option I'm working on, and I'm not sure if it's really that important showing the creation time, but that's a different discussion). I could ofcourse write my own, but I thought I'd just ask here. Thanks in advance -- Mvh Ulf Lilleengen
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060526205917.GA12965>