TIP: Click on subject to list as thread! ANSI
echo: c_echo
to: Bill Birrell
from: John H. Guillory
date: 2004-05-11 18:51:24
subject: Basic C syntax

Re: Basic C syntax
  By: Bill Birrell to Neil Heller on Sun May 09 2004 01:31 pm

 >  > What is wrong with msg_receive? Suggest a fix.
 >  >    #define MAXVALS 65536
 > 
 >  >    typedef struct _msg_t {
 >  >      unsigned int num;
 >  >      unsigned int values[MAXVALS];
 >  >    } msg_t;

Just a thought, but depending on the Operating System, and Compiler being
used....  And perhaps the memory modal compiled to.... You might also have
problems with _msg_t being TOO BIG!  It's 128k+2 by my calculations, which is
fine for 32-bit Windows, Linux, and DOS Extened, but does away with 16-bit
Windows, Pure DOS, and even then maybe 32-bit windows...
--- SBBSecho 2.00-Win32
* Origin: MLC-Group BBS -- mlc-group.dyndns.org (1:396/60)
SEEN-BY: 633/267 270
@PATH: 396/60 45 106/2000 633/267

SOURCE: echomail via fidonet.ozzmosis.com

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.