]> Pileus Git - ~andy/rsl/blob - doc/RSL_fix_time.html
Initial import
[~andy/rsl] / doc / RSL_fix_time.html
1 <HTML>
2 <HEAD>
3    <META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
4    <META NAME="GENERATOR" CONTENT="Mozilla/4.05 [en] (X11; U; Linux 2.0.32 i686) [Netscape]">
5 </HEAD>
6 <BODY>
7 <A HREF="index.html"><IMG SRC="rsl.gif" ></A>&nbsp;
8 <HR>
9 <H1>
10 RSL_fix_time</H1>
11
12 <HR>
13 <H3>
14 Synopsis</H3>
15 <B>#include "rsl.h"</B>
16 <BR><B>void RSL_fix_time(<A HREF="RSL_ray_struct.html">Ray</A> *ray);</B>&nbsp;
17 <HR>
18 <H3>
19 Description</H3>
20 Fixes possible overflow values in <B>month</B>, <B>day</B>, <B>year</B>,
21 <B>hh</B>, <B>mm</B>, <B>ss</B>.&nbsp; Normally, <B>ss</B> should be the
22 overflow.&nbsp; This code ensures end of&nbsp; <B>month</B>, <B>year</B>
23 and century are handled correctly by using the Unix time(2) functions.
24 <BR>
25 <HR>
26 <H3>
27 Return value</H3>
28 None.
29 <BR>
30 <HR>
31 <H3>
32 See also</H3>
33 mktime(3)
34 <BR>
35 <HR>
36
37 <P>Author: <A HREF="john.merritt.html">John H. Merritt</A>.
38 </BODY>
39 </HTML>