Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 13 Oct 2003 15:41:59 +0200 (CEST)
From:      Harti Brandt <brandt@fokus.fraunhofer.de>
To:        standards@freebsd.org, sparc64@freebsd.org
Subject:   time_t on sparc64
Message-ID:  <20031013153219.H45269@beagle.fokus.fraunhofer.de>

next in thread | raw e-mail | index | archive | help

Hi all,

I just discovered that time_t is 32-bit on sparc64. One of the problems
is that struct timeval is defined by Posix as

struct timeval {
	time_t	tv_secs;
	suseconds_t tv_usecs;
};

but _timeval.h has

struct timeval {
	long	tv_secs;
	suseconds_t tv_usecs;
}

This means, that our timeval is not Posix compatible. What is the reason
for time_t not beeing a long on sparc64?

harti
-- 
harti brandt,
http://www.fokus.fraunhofer.de/research/cc/cats/employees/hartmut.brandt/private
brandt@fokus.fraunhofer.de, harti@freebsd.org



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20031013153219.H45269>