lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
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

Powered by Openwall GNU/*/Linux Powered by OpenVZ