home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #19 / NN_1992_19.iso / spool / comp / unix / wizards / 3689 < prev    next >
Encoding:
Text File  |  1992-08-25  |  1.0 KB  |  30 lines

  1. Newsgroups: comp.unix.wizards
  2. Path: sparky!uunet!wupost!darwin.sura.net!Sirius.dfn.de!math.fu-berlin.de!news.netmbx.de!Germany.EU.net!murignis!ap542!D012S436!frank
  3. From: frank@D012S436.sniap.mchp.sni.de ()
  4. Subject: Re: A few UNIX questions
  5. Message-ID: <1992Aug26.081414.6932@sniap.mchp.sni.de>
  6. Sender: news@sniap.mchp.sni.de (News Admin)
  7. Organization: Siemens-Nixdorf AG
  8. References: <32176@adm.brl.mil>
  9. Date: Wed, 26 Aug 92 08:14:14 GMT
  10. Lines: 18
  11.  
  12. mike@BRL.MIL ( Mike Muuss) writes:
  13. : From: Michael Panosh <mwp.michael@melpn1.prime.com> PrimeService, Australia
  14. : > Can *anyone* tell me why the file size is a signed integer.  Surely there
  15. : > is no need for negative sized files!!
  16. : Because lseek() needs to be able to return -1 on error, and not have it
  17. : look like a valid file offset.
  18.  
  19. Umm, and a *signed* file size helps, does it?
  20.  
  21. --
  22. Frank O'Dwyer                           Disclaimer: 
  23. Siemens-Nixdorf AG                             I will deny everything
  24. Tel.  : +49 (89) 636-40639                      Fax.  : +49 (89) 636-45860
  25. e-mail: Frank.ODwyer@sniap.mchp.sni.de
  26.