home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #3 / NN_1993_3.iso / spool / comp / unix / programm / 6041 < prev    next >
Encoding:
Text File  |  1993-01-24  |  879 b   |  21 lines

  1. Newsgroups: comp.unix.programmer
  2. Path: sparky!uunet!psinntp!dg-rtp!webo!usenet
  3. From: dan@mordor.webo.dg.com (Dan Zehme)
  4. Subject: reading and writing the inbox
  5. Message-ID: <1993Jan21.161122.26242@webo.dg.com>
  6. Sender: usenet@webo.dg.com (Usenet Administration)
  7. Date: Thu, 21 Jan 93 16:11:22 GMT
  8. Organization: Data General Corporation
  9. Lines: 10
  10.  
  11. I am working a program that will work with a user's mail inbox (i.e.
  12. /usr/mail/$USER).  I have been unable to find what I need to do to
  13. read and write the file without the system or anybody else
  14. interferring with the file.  Is there a particular lock file that I
  15. need to create or a system call that I need to make.  My system
  16. uses DG/UX (System V.4 compatible).  Thanks in advance.
  17.  
  18.  
  19. Dan Zehme, MS F134, Data General, 4400 Computer Drive, Westboro, MA 01580
  20. Internet: dan@mordor.webo.dg.com, Phone: (508) 870-9237, Fax: (508) 898-4060
  21.