Re: [CODE][ERROR] error C2039: '_fileno' : is not a member of '_iobuf'

From: Chris Gilbert (chris@buzzbee.freeserve.co.uk)
Date: 11/18/00


On Thu, 16 Nov 2000, Karl Buchner wrote:
> To make ascii pfiles win98 compatable, change the
> _fileno's to _file's

This is unportable, change the x->_fileno thing to fileno(x) and i believe it
becomes portable, fileno is part of lots of standards:

STANDARDS CONFORMANCE
      fileno(): AES, SVID2, SVID3, XPG2, XPG3, XPG4, FIPS 151-2, POSIX.1

(above is taken from
http://www.ecst.csuchico.edu/~beej/guide/ipc/man.cgi?fileno
)

Chris


     +------------------------------------------------------------+
     | Ensure that you have read the CircleMUD Mailing List FAQ:  |
     |  http://qsilver.queensu.ca/~fletchra/Circle/list-faq.html  |
     +------------------------------------------------------------+



This archive was generated by hypermail 2b30 : 04/11/01 PDT