1 /* Seconds to Hour:Minute:Seconds and back - Header
2 
3  * Copyright (C) 1998 J.A. Bezemer
4  *
5  * Licensed under the terms of the GNU General Public License.
6  * ABSOLUTELY NO WARRANTY.
7  * See the file `COPYING' in this directory.
8  */
9 
10 #ifndef HAVE_SECSHMS_H
11 #define HAVE_SECSHMS_H
12 
13 
14 void secs2hms (long seconds, char *outstring);	/*  3610  ->  1:00:10  */
15 
16 void fsec2hmsf (double seconds, char *outstring);	/* 10.4 -> 0:00:10.400 */
17 
18 int hmsf2fsec (char *instring, double *seconds);
19 /* returns 0: failure, 1: success; instring will be modified. */
20 
21 
22 #endif /* HAVE_SECSHMS_H */
23