home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #31 / NN_1992_31.iso / spool / comp / lang / c / 18868 < prev    next >
Encoding:
Internet Message Format  |  1992-12-24  |  1.1 KB

  1. Xref: sparky comp.lang.c:18868 comp.unix.questions:14964
  2. Path: sparky!uunet!psgrain!ee.und.ac.za!csir.co.za!olsa99!zeusa!hendrik
  3. From: hendrik@zeusa.UUCP (Hendrik Vermooten)
  4. Newsgroups: comp.lang.c,comp.unix.questions
  5. Subject: return value of fseek()
  6. Message-ID: <37@zeusa.UUCP>
  7. Date: 23 Dec 92 10:27:23 GMT
  8. Followup-To: comp.lang.c
  9. Organization: ZEUS software
  10. Lines: 16
  11.  
  12.  
  13. The ANSI C standard says that fseek() returns a 0 for success. I read
  14. somewhere that System V returns non-zero for success!
  15. SCO V.3.2 returns 0 for success.
  16.  
  17. Does anybody know which operating systems' fseek() return non-ANSI values?
  18.  
  19. Appreciate any help, pref e-mail & I'll summarize.
  20.  
  21. -------------- Hendrik Vermooten - hendrik@zeusa.co.za -------------------
  22.  ___________  _________  ___     ___     ______       ZEUS software
  23.  \______   /  \   _____\ \  \    \  \   (   ___)      PO Box 52051
  24.        /  /    \  \____   \  \    \  \   \  \____     WIERDA PARK 0149
  25.       /  /      \   ___\   \  \    \  \   \____  \    South Africa
  26.      /  /_____   \  \______ \  \____\  \    ___)  )   Tel +2712 660-2408
  27.     /_________\   \________\ \_________/   (_____/    FAX +2712 660-2409
  28.