home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #26 / NN_1992_26.iso / spool / comp / os / os2 / programm / 6321 < prev    next >
Encoding:
Internet Message Format  |  1992-11-10  |  1.5 KB

  1. Path: sparky!uunet!destroyer!cs.ubc.ca!unixg.ubc.ca!ochealth
  2. From: ochealth@unixg.ubc.ca (ochealth)
  3. Newsgroups: comp.os.os2.programmer
  4. Subject: Re: flock() for emx gcc?
  5. Date: 11 Nov 1992 00:50:14 GMT
  6. Organization: University of British Columbia, Vancouver, B.C., Canada
  7. Lines: 25
  8. Message-ID: <1dplc6INNgac@iskut.ucs.ubc.ca>
  9. References: <1992Nov10.005811.18119@grebyn.com>
  10. NNTP-Posting-Host: unixg.ubc.ca
  11.  
  12. In article <1992Nov10.005811.18119@grebyn.com> richk@grebyn.com (Richard Krehbiel) writes:
  13. :I was trying to get GNU GDBM working; it wants an flock() function,
  14. :and I don't know where to get one.  I know OS/2 has file locking
  15. :functions.  I don't have the library sources, and I don't have native
  16. :OS/2 programming docs, so I can't really do anything about it myself.
  17. :
  18. :Is there an flock() function around already?  Could someone literate
  19. :in emx (0.8e) gcc (2.2.2) whip one up?  Thanks.
  20.  
  21. why don;t you look at the OS/2 port of GNU dbm? IT's on ftp-os2.nmsu.edu.
  22.  
  23. I've checked the sources a bit, and it looks like flock() isn't used for
  24. OS/2. ( I think OS/2 and EMX default to lcking out writes anyway)
  25.  
  26.  
  27. :-- 
  28. :Richard Krehbiel                                 richk@grebyn.com
  29. :OS/2 2.0 will do for me until AmigaDOS for the 386 comes along...
  30.  
  31.  
  32. -- 
  33. ______________________________________________________________________________
  34. jpm: ochealth@unixg.ubc.ca         
  35.                             Happily using OS/2 2.0 because MS Windows isNT ___
  36.                                                       Insert VapourFeature ^^^
  37.