From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,7c8b9807345783b1,start X-Google-Attributes: gidfee84,public X-Google-ArrivalTime: 1995-01-22 18:18:36 PST Newsgroups: comp.unix.osf.osf1 Path: pad-thai.cam.ov.com!bloom-beacon.mit.edu!spool.mu.edu!agate!msunews!harbinger.cc.monash.edu.au!bunyip.cc.uq.oz.au!un!news From: al012@svtstu.seqeb.gov.au (Anthony Lee) Subject: Funny behaviour of msgget Message-ID: Sender: news@un.seqeb.gov.au (USENET News System) Organization: Your Organization X-Newsreader: WinVN 0.93.10 Mime-Version: 1.0 Date: Mon, 23 Jan 1995 01:03:20 GMT Dear all, Recently I had to use the function msgget for locating a message queue. (SVR4 style ipc) This function requires a pathname to generate a key. If the pathname does not exist then the key is negative. I noticed that when call the function with a -1 key, it still insist on returning me a channel identifier ???? Anthony