~ubuntu-branches/ubuntu/saucy/manpages/saucy

« back to all changes in this revision

Viewing changes to man3/ctime.3

  • Committer: Bazaar Package Importer
  • Author(s): Joey Schulze
  • Date: 2010-03-02 21:49:58 UTC
  • mfrom: (1.1.42 upstream) (2.2.5 sid)
  • Revision ID: james.westby@ubuntu.com-20100302214958-69yjgb70t7wrjo3m
New upstream version
. Remove crufty statement in setuid(2) that seteuid() is not in POSIX
(closes: Bug#569812)
. Fix description of 'nochdir' argument in daemon(3) (closes: Bug#554819)
. Fix NAME line in path_resolution(7) (closes: Bug#558300)

Show diffs side-by-side

added added

removed removed

Lines of Context:
30
30
.\" Modified 2001-12-13, joey, aeb
31
31
.\" Modified 2004-11-16, mtk
32
32
.\"
33
 
.TH CTIME 3 2009-03-15 "" "Linux Programmer's Manual"
 
33
.TH CTIME 3 2010-02-25 "" "Linux Programmer's Manual"
34
34
.SH NAME
35
35
asctime, ctime, gmtime, localtime, mktime, asctime_r, ctime_r, gmtime_r,
36
36
localtime_r \- transform date and time to broken-down time or ASCII
78
78
functions all take
79
79
an argument of data type \fItime_t\fP which represents calendar time.
80
80
When interpreted as an absolute time value, it represents the number of
81
 
seconds elapsed since 00:00:00 on January 1, 1970, Coordinated Universal
82
 
Time (UTC).
 
81
seconds elapsed since the Epoch, 1970-01-01 00:00:00 +0000 (UTC).
83
82
.PP
84
83
The
85
84
.BR asctime ()
196
195
and sets the external variables \fItzname\fP with
197
196
information about the current timezone, \fItimezone\fP with the difference
198
197
between Coordinated Universal Time (UTC) and local standard time in
199
 
seconds, and \fIdaylight\fP to a non-zero value if daylight savings
 
198
seconds, and \fIdaylight\fP to a nonzero value if daylight savings
200
199
time rules apply during some part of the year.
201
200
The return value points to a statically allocated struct which might be
202
201
overwritten by subsequent calls to any of the date and time functions.
368
367
.BR tzset (3),
369
368
.BR time (7)
370
369
.SH COLOPHON
371
 
This page is part of release 3.23 of the Linux
 
370
This page is part of release 3.24 of the Linux
372
371
.I man-pages
373
372
project.
374
373
A description of the project,