Re: newbi help... how do i send a single null char using pth_msgport_put

2000-10-17 Thread Ralf S. Engelschall
On Tue, Oct 17, 2000, Oliver George wrote: [...] my system uses Message Port Communication, there are heaps of pth_msgport_put calls... i want an example pth_msgport_put call which just sends a single null character. struct mymessage { pth_message_t link; char buf[BUFLEN]; }; ...

memory fault on OpenServer

2000-10-17 Thread Lachlan Holmes
Hi, In a very simple test program I have created, I get a memory fault when I try to do a pth_join on SCO OpenServer 5.0.5, but it works fine on HPUX 10.20. Ideas? Should I reinstall pth perhaps? Source follows. The actual output is: In main Before join Memory fault(coredump) Thanks.

RE: memory fault on OpenServer

2000-10-17 Thread Lachlan Holmes
Thanks for the reply. Okay, so I stuffed up with the malloc. But the pth-manual pages say that this arg isn't used if it is NULL and when I try that it has the same effect... Lachlan -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Matt Sherer Sent: