[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20090718115019.GH1433@ucw.cz>
Date: Sat, 18 Jul 2009 13:50:19 +0200
From: Pavel Machek <pavel@....cz>
To: Andrew Morton <akpm@...ux-foundation.org>
Cc: Zhaolei <zhaolei@...fujitsu.com>, mingo@...e.hu,
tglx@...utronix.de, hirofumi@...l.parknet.co.jp,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH 1/2] Add function to convert between calendar time and
broken-down time for universal use
> > +extern void gmtime(__kernel_time_t totalsecs,
> > + unsigned int *year, unsigned int *mon, unsigned int *mday,
> > + unsigned int *hour, unsigned int *min, unsigned int *sec,
> > + unsigned int *wday, unsigned int *yday);
> > +extern void localtime(__kernel_time_t totalsecs,
> > + unsigned int *year, unsigned int *mon, unsigned int *mday,
> > + unsigned int *hour, unsigned int *min, unsigned int *sec,
> > + unsigned int *wday, unsigned int *yday);
Should year/mon/.../yday be passed up as a structure?
--
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists