Path: utzoo!utgpu!news-server.csri.toronto.edu!mailrus!wuarchive!usc!snorkelwacker!ira.uka.de!fauern!tumuc!lan!rommel From: rommel@lan.informatik.tu-muenchen.dbp.de (Kai-Uwe Rommel) Newsgroups: comp.os.os2.programmer Subject: Re: #define SEG_NONSHARED ? Message-ID: <3345@tuminfo1.lan.informatik.tu-muenchen.dbp.de> Date: 11 Jul 90 07:51:25 GMT References: <1990Jul9.145902.29381@santra.uucp> Sender: news@lan.informatik.tu-muenchen.dbp.de Reply-To: rommel@lan.informatik.tu-muenchen.dbp.de (Kai-Uwe Rommel) Organization: Inst. fuer Informatik, TU Muenchen, W. Germany Lines: 11 This value is mentioned in the OS/2 docs from MS and defined in the headers which come with the SDK 1.1 and above. The headers from C 5.1 are 1.0 headers and out of date. Perhaps the C 6.0 headers are ok again. I don`t have the headers handy now but can take a look at the docs later which value SEG_NONSHARED has. I thought it is better to use symbolic constants than hardcoded numbers. Probably the value is zero because this case (nonshared segment) is the default case (?). Kai Uwe Rommel Munich rommel@lan.informatik.tu-muenchen.dbp.de