Commit Graph

49 Commits

Author SHA1 Message Date
Michael Kerrisk 4bc22b3c6b ctime.3: ffix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-09-22 16:59:06 +02:00
Michael Kerrisk 5f14486cd6 ctime.3: wfix
Reported-by: TAN Yee Fan <tanyeefa@comp.nus.edu.sg>
Signed-off-by: Michael Kerrisk <mtk@konstanz.(none)>
2010-08-29 07:18:28 +02:00
Michael Kerrisk 513051f769 add_key.2, keyctl.2, request_key.2, stime.2, time.2, ctime.3, difftime.3, ftime.3, getspnam.3, mq_receive.3, mq_send.3, rtime.3, sem_wait.3, string.3, timeradd.3, tzset.3, rtc.4, core.5, icmp.7, time.7, zic.8: Updated .TH timestamp
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-02-25 10:43:57 +01:00
Michael Witten f49c451a62 stime.2, time.2, utimensat.2, ctime.3, difftime.3, ftime.3, getspnam.3, mq_receive.3, mq_send.3, rtime.3, sem_wait.3, strftime.3, strptime.3, timeradd.3, rtc.4, core.5, proc.5, icmp.7, time.7: Global fix: Consistently define the Epoch
All definitions of the Epoch have been refactored to the following:

  1970-01-01 00:00:00 +0000 (UTC)

That form is more consistent, logical, precise, and internationally
recognizable than the other variants.

Also, some wording has been altered as well.

Signed-off-by: Michael Witten <mfwitten@gmail.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-01-17 04:55:05 +01:00
Michael Kerrisk c7094399ad intro.1, time.1, adjtimex.2, capget.2, eventfd.2, fcntl.2, getrlimit.2, getsockopt.2, gettimeofday.2, intro.2, ioctl_list.2, ioperm.2, mlock.2, pivot_root.2, poll.2, prctl.2, ptrace.2, sched_setscheduler.2, select_tut.2, semget.2, sigaltstack.2, signalfd.2, sysctl.2, timer_settime.2, timerfd_create.2, wait.2, CPU_SET.3, argz_add.3, assert_perror.3, atexit.3, backtrace.3, bcmp.3, clearenv.3, ctime.3, dl_iterate_phdr.3, dlopen.3, ecvt.3, errno.3, error.3, ether_aton.3, exit.3, fenv.3, ferror.3, finite.3, flockfile.3, fnmatch.3, fpathconf.3, fpclassify.3, ftime.3, ftok.3, ftw.3, fwide.3, getaddrinfo.3, gethostbyname.3, getlogin.3, getnameinfo.3, getnetent.3, getopt.3, getprotoent.3, getrpcent.3, getservent.3, glob.3, hsearch.3, inet.3, isalpha.3, iswalnum.3, iswalpha.3, iswblank.3, iswcntrl.3, iswctype.3, iswdigit.3, iswgraph.3, iswlower.3, iswprint.3, iswpunct.3, iswspace.3, iswupper.3, iswxdigit.3, longjmp.3, lsearch.3, malloc.3, matherr.3, mblen.3, mbsinit.3, mbtowc.3, on_exit.3, printf.3, pthread_attr_init.3, pthread_attr_setaffinity_np.3, pthread_attr_setdetachstate.3, pthread_attr_setguardsize.3, pthread_attr_setinheritsched.3, pthread_attr_setschedparam.3, pthread_attr_setschedpolicy.3, pthread_attr_setscope.3, pthread_attr_setstack.3, pthread_attr_setstackaddr.3, pthread_attr_setstacksize.3, pthread_cancel.3, pthread_cleanup_push.3, pthread_equal.3, pthread_getattr_np.3, pthread_getcpuclockid.3, pthread_setaffinity_np.3, pthread_setcancelstate.3, pthread_setconcurrency.3, pthread_setschedparam.3, pthread_setschedprio.3, ptsname.3, putenv.3, putgrent.3, raise.3, rcmd.3, regex.3, rexec.3, rpc.3, rpmatch.3, rtnetlink.3, scandir.3, sem_init.3, setaliasent.3, setbuf.3, setenv.3, setjmp.3, signbit.3, stdio_ext.3, strtod.3, strtol.3, strtoul.3, system.3, termios.3, timeradd.3, tzset.3, ualarm.3, wctomb.3, xdr.3, st.4, tty_ioctl.4, core.5, elf.5, proc.5, bootparam.7, capabilities.7, icmp.7, ip.7, ipv6.7, math_error.7, mdoc.samples.7, mq_overview.7, pthreads.7, raw.7, regex.7, socket.7, tcp.7, tzselect.8: Global fix: s/non-zero/nonzero/
The tendency in English, as prescribed in style guides like
Chicago MoS, is towards removing hyphens after prefixes
like "non-" etc.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-01-16 17:40:55 +01:00
Michael Kerrisk 9e36b352bc ctime.3: Note that POSIX.1-2008 recommends strftime(3) instead of these functions
Reported-by: Jan Engelhardt <jengelh@medozas.de>

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-03-15 08:04:58 +13:00
Michael Kerrisk 08c9b488f4 timerfd_create.2, ctime.3, frexp.3, strftime.3, strtok.3, tty_ioctl.4, iso_8859-7.7: tstamp 2008-10-29 15:36:12 -05:00
Michael Kerrisk 546f67f3cd ctime.3: ctime_r() and localtime_r() need not set 'timezone' and 'daylight'
The man page already noted that these functions need not set
'tzname', but things could be clearer: it tzset() is not called,
then the other two variables also are not set.

Also, clarify that ctime() does set 'timezone' and 'daylight'.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2008-10-29 14:54:13 -05:00
Michael Kerrisk acddbaea0c Removed trailing white space at end of lines 2008-10-07 10:58:44 +02:00
Michael Kerrisk f9db4400fd ctime.3: clarify mktime()'s use of tm_isdst
Describe use of tm_isdst for input to mktime();
explain how mktime() modifies this field.
(This field is left unchanged in case of error.)

Reported-by: Eugene V. Lyubimkin <jackyf.devel@gmail.com>
Debian bug 500178
2008-09-26 06:48:22 +02:00
Michael Kerrisk ef38dda012 ctime.3 Minor rewording
Clarify wording for ctime_r() and asctime_r() to indicate that
the bffer must be at least 26 *bytes*.
2008-09-26 06:05:54 +02:00
Michael Kerrisk 9ef659a9a8 ctime.3: minor rewording of mktime() description. 2008-09-26 06:02:10 +02:00
Michael Kerrisk 8fe528b35b ffix 2008-09-26 05:02:12 +02:00
Michael Kerrisk 5b0dc1baed s/time zone/timezone/ for consistency across pages and with POSIX.1. 2008-09-07 04:17:25 +00:00
Michael Kerrisk 0f200f076c Add/fix feature test macro requirements. 2008-08-29 15:50:13 +00:00
Michael Kerrisk ca5711a5ed POSIX.1-2008 marks asctime(), asctime_r(), ctime(), and ctime_r() as obsolete. 2008-08-06 10:58:05 +00:00
Michael Kerrisk 0e8fe3b46f Add some words to make clear that the string returned by
ctime() and asctime() is null-terminated.
2008-07-23 20:38:15 +00:00
Michael Kerrisk 44a2c3286c Even when the CONFORMING TO section is just a list of standards,
they should be terminated by a period.
2008-07-15 13:39:17 +00:00
Michael Kerrisk 84c517a450 Change use of quote characters to get better UTF-8 rendering. 2008-06-05 20:14:50 +00:00
Michael Kerrisk 8167059b21 Add warning under NOTES that asctime(), ctime(), gmtime(), and
localtime() may each overwrite the static object returned by any
of the other calls.
2008-09-18 12:26:18 +00:00
Michael Kerrisk 12a1a9e794 Added FIXME relating to SUSv4 chhanges 2008-03-19 15:09:59 +00:00
Michael Kerrisk eba722884d s/nonzero/non-zero/ 2008-03-19 13:16:39 +00:00
Michael Kerrisk da27f17824 s/re-entrant/reentrant/ 2008-03-19 08:49:50 +00:00
Michael Kerrisk e935e108ac Replace (il)legal by "permitted" or "valid" 2008-03-10 10:04:03 +00:00
Michael Kerrisk 7b16ff4951 Note that POSIX requires localtime() to act as though tzset()
was called, but localtime_r() does not have the same requirement.
See also http://thread.gmane.org/gmane.comp.time.tz/2034/
2008-02-14 16:19:05 +00:00
Michael Kerrisk c382a36592 hyphenation fixes 2007-12-25 22:02:19 +00:00
Michael Kerrisk 009df872f7 Format casts so that there is a non-breaking space after the
type, and remove unnecessary parentheses around the casted value.
Thus, for example, the following:

     .IR "(size_t) (\-1)" .

becomes:
    .IR "(size_t)\ \-1" .
2007-12-22 16:26:51 +00:00
Michael Kerrisk bd19142309 enclose code smaples/structure defns/etc in ".in +4n / .in" 2007-12-19 06:16:04 +00:00
Michael Kerrisk a08ea57c20 Make the standard indent for code samples, shell session
logs, etc. to be ".in +4n".
2007-12-19 05:53:30 +00:00
Michael Kerrisk be9634cfdd s/epoch/Epoch/ 2007-12-18 15:37:46 +00:00
Michael Kerrisk 7d2cb9d5e5 ffix 2007-07-09 21:33:55 +00:00
Michael Kerrisk cc4615cc78 Added/updated glibc feature test macro requirements 2007-07-08 12:11:40 +00:00
Michael Kerrisk db4e96b771 ffix 2007-06-22 17:48:59 +00:00
Michael Kerrisk 0c2ec4f115 ffix 2007-06-13 22:13:46 +00:00
Michael Kerrisk 7877f012e5 Make SEE ALSO refer to timegm.3 2007-06-12 05:01:17 +00:00
Michael Kerrisk 75b94dc35c Change "e.g. " to "e.g., ", or in some cases, "for example, ".
Change "i.e. " to i.e.., ", or in some cases, "that is, ".
2007-06-08 11:56:22 +00:00
Michael Kerrisk 2b2581ee37 Fix inconsistencies in order of .SH sections 2007-05-19 04:30:20 +00:00
Michael Kerrisk 60a90ecdae Convert function formatting of the form "\fBname\fP()" to ".BR name ()". 2007-05-12 09:06:04 +00:00
Michael Kerrisk c13182efa3 Wrapped long lines, wrapped at sentence boundaries; stripped trailing
white space.
2007-04-12 22:42:49 +00:00
Michael Kerrisk 1eb85d1484 Updated various header pages to accurately reflect which functions
are and are not part of C89.  Also fixed/improved a few other
CONFORMING TO entries.
2006-12-16 22:11:08 +00:00
Michael Kerrisk 68e1685c25 Updated CONFORMING TO section 2006-08-03 13:57:30 +00:00
Michael Kerrisk eafd5ce11f Added SEE ALSO referring to new time.7 2006-04-26 07:26:36 +00:00
Michael Kerrisk 7f4f95858a The range of tm_sec is 0..60 (not 0..61). 2006-04-26 05:49:35 +00:00
Michael Kerrisk 6c98e32416 ffix 2006-04-26 05:49:24 +00:00
Michael Kerrisk 63aa9df02f Automated unformatting of parentheses using unformat_parens.sh 2005-10-19 07:07:02 +00:00
Michael Kerrisk b14d4aa5b8 Classical BSD versions are now always named x.yBSD (formerly
there was a mix of x.yBSD and BSD x.y).
2005-07-18 15:05:56 +00:00
Michael Kerrisk c93df97462 Removed SEE ALSO reference to non-existent newctime(3) 2005-04-06 13:10:34 +00:00
Michael Kerrisk 3e53c142b7 Noted that 0 tm_day == last day of preceding month 2004-11-16 13:35:20 +00:00
Michael Kerrisk fea681dafb Import of man-pages 1.70 2004-11-03 13:51:07 +00:00