home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #31 / NN_1992_31.iso / spool / comp / os / coherent / 6560 < prev    next >
Encoding:
Internet Message Format  |  1993-01-03  |  1.4 KB

  1. 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
  2. From: fredex@fcshome.UUCP (fred smith)
  3. Newsgroups: comp.os.coherent
  4. Subject: Coherent's messaging facility
  5. Keywords: message ftok msg ipc
  6. Message-ID: <930103130@fcshome.UUCP>
  7. Date: 4 Jan 93 04:22:29 GMT
  8. Organization: What?!? Absolutely none!
  9. Lines: 20
  10.  
  11.  
  12. I've recently been working on a program that uses Unix's message
  13. facilities, and it uses a function named "ftok()" which we don't
  14. seem to have in Coherent. It is used to get a key (or handle) for doing
  15. inter-process messaging, apparently.
  16.  
  17. I can easily use some integer instead of a runtime-generated key, but
  18. there must be a PROPER way to do this. I can think of using the
  19. results of getpid(), or one of the time functions, but I was hoping
  20. that someone else could tell me the correct way to handle this on
  21. systems that lack ftok().
  22.  
  23. Fred
  24.  
  25. -------------------------------------------------------------------------------
  26.  .----   Fred Smith    /                Office: 508-663-2524|Home: 617-438-5471
  27. ( /__  ,__.   __   __ /  __   : /                  fredex%fcshome@merk.merk.com
  28.  /    /  /   /__) /  /  /__) .+'                   or uunet!merk!fcshome!fredex
  29. /    /  (__ (___ (__(_ (___ / :__   BIX: fredex    or    primerd!fcshome!fredex  
  30. -------------------------------------------------------------------------------
  31.