home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!olivea!spool.mu.edu!agate!stanford.edu!rutgers!rochester!cantaloupe.srv.cs.cmu.edu!das-news.harvard.edu!spdcc!merk!fcshome!fredex
- From: fredex@fcshome.UUCP (fred smith)
- Newsgroups: comp.os.coherent
- Subject: Coherent's messaging facility
- Keywords: message ftok msg ipc
- Message-ID: <930103130@fcshome.UUCP>
- Date: 4 Jan 93 04:22:29 GMT
- Organization: What?!? Absolutely none!
- Lines: 20
-
-
- I've recently been working on a program that uses Unix's message
- facilities, and it uses a function named "ftok()" which we don't
- seem to have in Coherent. It is used to get a key (or handle) for doing
- inter-process messaging, apparently.
-
- I can easily use some integer instead of a runtime-generated key, but
- there must be a PROPER way to do this. I can think of using the
- results of getpid(), or one of the time functions, but I was hoping
- that someone else could tell me the correct way to handle this on
- systems that lack ftok().
-
- Fred
-
- -------------------------------------------------------------------------------
- .---- Fred Smith / Office: 508-663-2524|Home: 617-438-5471
- ( /__ ,__. __ __ / __ : / fredex%fcshome@merk.merk.com
- / / / /__) / / /__) .+' or uunet!merk!fcshome!fredex
- / / (__ (___ (__(_ (___ / :__ BIX: fredex or primerd!fcshome!fredex
- -------------------------------------------------------------------------------
-