TIP: Click on subject to list as thread! ANSI
echo: fidosoft.husky
to: Stas Degteff
from: Gerrit Kuehn
date: 2003-01-14 16:18:54
subject: MsgRead / MsgWrite

Hello Stas!

Jan 14 15:34 03, Stas Degteff wrote to Gerrit Kuehn:


 SD> Value 0xffffffff is reserved for error return, not an real message 
 SD> number. -1l is equivalent to it.

I see. I have added the neccessary typecasts in fastlst, but they appeared
quite strange to me when I read the source first.

 SD> This strange usage of -1 produced historically: where 16 bit value be 
 SD> use for real message number.
 SD> Todo: replace ((unsigned long) -1l) to macro, defined  like as:
 SD> #define NOMESSAGE 0xffffffff

Ok, this would at least make the code look better. :)


Regards,
Gerrit

--- Msged/BSD 6.1.1
* Origin: They pursued it with forks and hope (2:2411/12)
SEEN-BY: 633/267 270
@PATH: 2411/12 413 2432/200 2476/418 140/1 106/2000 1 379/1 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™.