OSDN Git Service

LDP: Update original to LDP v3.68
[linuxjm/LDP_man-pages.git] / original / man3 / difftime.3
index fde72e5..35414b7 100644 (file)
@@ -1,5 +1,6 @@
 .\" Copyright 1993 David Metcalfe (david@prism.demon.co.uk)
 .\"
+.\" %%%LICENSE_START(VERBATIM)
 .\" Permission is granted to make and distribute verbatim copies of this
 .\" manual provided the copyright notice and this permission notice are
 .\" preserved on all copies.
 .\"
 .\" Formatted or processed versions of this manual, if unaccompanied by
 .\" the source, must acknowledge the copyright and authors of this work.
+.\" %%%LICENSE_END
 .\"
 .\" References consulted:
 .\"     Linux libc source code
 .\"     Lewine's _POSIX Programmer's Guide_ (O'Reilly & Associates, 1991)
 .\"     386BSD man pages
 .\" Modified Sat Jul 24 19:48:17 1993 by Rik Faith (faith@cs.unc.edu)
-.TH DIFFTIME 3  2010-02-25 "GNU" "Linux Programmer's Manual"
+.TH DIFFTIME 3  2013-10-28 "GNU" "Linux Programmer's Manual"
 .SH NAME
 difftime \- calculate time difference
 .SH SYNOPSIS
@@ -43,7 +45,12 @@ between time \fItime1\fP and time \fItime0\fP, represented as a
 Each of the times is specified in calendar time, which means its
 value is a measurement (in seconds) relative to the
 Epoch, 1970-01-01 00:00:00 +0000 (UTC).
-.SH "CONFORMING TO"
+.SH ATTRIBUTES
+.SS Multithreading (see pthreads(7))
+The
+.BR difftime ()
+function is thread-safe.
+.SH CONFORMING TO
 SVr4, 4.3BSD, C89, C99.
 .SH NOTES
 On a POSIX system,
@@ -58,14 +65,19 @@ define
 .fi
 .RE
 when the possible overflow in the subtraction is not a concern.
-On other systems, the data type
-.I time_t
-might use some other encoding
-where subtraction doesn't work directly.
-.SH "SEE ALSO"
+.SH SEE ALSO
 .BR date (1),
 .BR gettimeofday (2),
 .BR time (2),
 .BR ctime (3),
 .BR gmtime (3),
 .BR localtime (3)
+.SH COLOPHON
+This page is part of release 3.68 of the Linux
+.I man-pages
+project.
+A description of the project,
+information about reporting bugs,
+and the latest version of this page,
+can be found at
+\%http://www.kernel.org/doc/man\-pages/.