In <[EMAIL PROTECTED]>, Big and Blue <[EMAIL PROTECTED]> wrote:
> Big and Blue wrote: > > Tony Houghton wrote: > >> > >> How safe would I be assuming that > >> sizeof(struct timeval) == 2 * sizeof(long) > >> > >> is always true on Linux on different architectures? > > > > Based on what I was looking at today (well, yesterday now), you might > > be wrong. > > However, it looks as though I was wrong: [Snip headers showing my assumption is correct for his PC too] I've already looked at those headers too. But most of the definitions look like internal types and I'm not confident I can rely on them staying the same size. But I don't think there's a strong enough case for changing them to justify the glibc ABI change etc, so I'm probably safe. -- The address in the Reply-To is genuine and should not be edited. See <http://www.realh.co.uk/contact.html> for more reliable contact addresses. -- http://mail.python.org/mailman/listinfo/python-list