Srinivasa Ragavan wrote:
> Also, where do you have 'char * timezone(int zone, int dst);' declared?
>
grep -A 5 -B 5 timezone\( /usr/include/time.h
char *strptime(const char * __restrict, const char * __restrict,
struct tm * __restrict);
#endif
#if __BSD_VISIBLE
*char *timezone(int, int);* /* XXX XSI conflict */
void tzsetwall(void);
time_t timelocal(struct tm * const);
time_t timegm(struct tm * const);
#endif /* __BSD_VISIBLE */
__END_DECLS
also man 3 timezone:
TIMEZONE(3) FreeBSD Library Functions Manual
TIMEZONE(3)
NAME
timezone -- return the timezone abbreviation
LIBRARY
Standard C Library (libc, -lc)
SYNOPSIS
char *
timezone(int zone, int dst);
DESCRIPTION
This interface is for compatibility only; it is impossible to reliably
map timezone's arguments to a time zone abbreviation. See ctime(3).
The timezone() function returns a pointer to a time zone
abbreviation for
the specified zone and dst values. The zone argument is the number of
minutes west of GMT and dst is non-zero if daylight savings time is in
effect.
SEE ALSO
ctime(3)
HISTORY
A timezone() function appeared in Version 7 AT&T UNIX.
FreeBSD 7.0 April 19, 1994
FreeBSD 7.0
--
WBR,
Roman Rybalko
_______________________________________________
Evolution-hackers mailing list
[email protected]
http://mail.gnome.org/mailman/listinfo/evolution-hackers