From patchwork Thu Feb 12 17:23:57 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?R=C3=BCdiger_Sonderfeld?= X-Patchwork-Id: 439314 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from sourceware.org (server1.sourceware.org [209.132.180.131]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 7E892140182 for ; Fri, 13 Feb 2015 05:06:23 +1100 (AEDT) DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:from:to:subject:date:message-id:mime-version :content-transfer-encoding:content-type; q=dns; s=default; b=uuu 8LNI1ZSVBujzK4Ewv7vzBMJp+M67pWDjeourAq/PJmFocopNlyFHF2d0MAok2AMg wy1swRRVA45d/mf3ci1uYcoMor6j8q7ZxC7dv69nMAE85qXDADctsNyP57X4i+Lb 5jKTNYn+334/12uFC9ph8EqZQsRStfFg7R04X5tE= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:from:to:subject:date:message-id:mime-version :content-transfer-encoding:content-type; s=default; bh=oSvwxY5+D t5R1fm4d0jBN/31kh4=; b=y2v+msYYNTpz6p+1vCit8ctHTDw2o3Rl96DRDMr1o NdSecXInk/7tT+b2DqPLnJaJBzpold34yX+05/Fwns/zpHb67C1YD8yeQECYPK+Y +JmZxODr74nkW6zFJ00TyGmpqnuwB8g+JwBowrAEHxm4uNTCq6qxhwxfZ6RVXWrr yE= Received: (qmail 21701 invoked by alias); 12 Feb 2015 17:24:20 -0000 Mailing-List: contact libc-alpha-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: libc-alpha-owner@sourceware.org Delivered-To: mailing list libc-alpha@sourceware.org Received: (qmail 21684 invoked by uid 89); 12 Feb 2015 17:24:20 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.9 required=5.0 tests=BAYES_00, SPF_HELO_PASS autolearn=ham version=3.3.2 X-HELO: ptmx.org From: =?ISO-8859-1?Q?R=FCdiger?= Sonderfeld To: libc-alpha@sourceware.org Subject: [PATCH] manual: Correct type in struct timeval/timespec. Date: Thu, 12 Feb 2015 18:23:57 +0100 Message-ID: <6948004.VhtuX0CvNp@descartes> User-Agent: KMail/4.13.3 (Linux/3.13.0-44-generic; KDE/4.13.3; x86_64; ; ) MIME-Version: 1.0 * manual/time.texi (Elapsed Time): tv_sec is of type time_t in both struct timeval and struct timespec. This matches the implementation and also the relevant standard (checked C11 for timespec and opengroup for timeval). (I have signed the FSF papers) --- ChangeLog | 5 +++++ manual/time.texi | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index cc8f509..42f50c5 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2015-02-12 RĂ¼diger Sonderfeld + + * manual/time.texi (Elapsed Time): tv_sec is of type time_t in + both struct timeval and struct timespec. + 2015-02-12 Adhemerval Zanella * sysdeps/unix/sysv/linux/powerpc/htm.h [TABORT]: Fix encoding for diff --git a/manual/time.texi b/manual/time.texi index 8a5f94e..a7bf156 100644 --- a/manual/time.texi +++ b/manual/time.texi @@ -104,7 +104,7 @@ declared in @file{sys/time.h} and has the following members: @table @code -@item long int tv_sec +@item time_t tv_sec This represents the number of whole seconds of elapsed time. @item long int tv_usec @@ -123,7 +123,7 @@ declared in @file{time.h} and has the following members: @table @code -@item long int tv_sec +@item time_t tv_sec This represents the number of whole seconds of elapsed time. @item long int tv_nsec