From: Ian Campbell Subject: Re: [PATCH v3 5/5] xen/console: Traditional console timestamps including milliseconds Date: Tue, 11 Mar 2014 10:43:33 +0000 Message-ID: <1394534613.18366.28.camel@kazak.uk.xensource.com> References: <1394134085-22952-1-git-send-email-andrew.cooper3@citrix.com> <1394134085-22952-6-git-send-email-andrew.cooper3@citrix.com> <53190AB0.4020806@terremark.com> <531915C4.6060102@citrix.com> <531A573C.6050807@terremark.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <531A573C.6050807@terremark.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Don Slutz Cc: Keir Fraser , Andrew Cooper , Tim Deegan , Xen-devel , Stefano Stabellini , Jan Beulich List-Id: xen-devel@lists.xenproject.org On Fri, 2014-03-07 at 18:33 -0500, Don Slutz wrote: > Last I knew (struct tm) { 0 } is > > struct tm { > int tm_sec; /* seconds */ = 0 > int tm_min; /* minutes */ > int tm_hour; /* hours */ > int tm_mday; /* day of the month */ > int tm_mon; /* month */ > int tm_year; /* year */ > int tm_wday; /* day of the week */ > int tm_yday; /* day in the year */ > int tm_isdst; /* daylight saving time */ > }; > Actually I believe the affect of "struct foo = { 0 }" is to zero everything (possibly implicitly by causing it to be placed in .bss), but I don't have my copy of the spec to hand to quote chapter and verse on that. Ian.