Version française
Home     About     Download     Resources     Contact us    

This site is updated infrequently. For up-to-date information, please visit the new OCaml website at

Browse thread
Re: Need help! - returns 0 bytes
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2004-11-08 (18:25)
From: James Lamanna <jamesl@a...>
Subject: Re: Need help! - returns 0 bytes
Disregard my last message.
I forgot to notice that the structure size changed from 16->24 bytes when going to the 64-bit platform.
Unfortunately read() doesn't return an error when you don't read the full size of the struct, instead it just returns 0.

James Lamanna