"Magnus Hagander" <[EMAIL PROTECTED]> writes: > Should work fine on Windows. fileno() is deprecated however, with the > following comment: > C:\Program Files\Microsoft Visual Studio > 8\VC\INCLUDE\stdio.h(688) : see > declaration of 'fileno' > Message: 'The POSIX name for this item is deprecated. Instead, > use the ISO C++ conformant name: _fileno. See online help for details.'
Only Microsoft would think that they get to unilaterally deprecate a POSIX standard API :-( We appear to be using fileno() in some dozens of places already, so I see no reason to worry about this. regards, tom lane ---------------------------(end of broadcast)--------------------------- TIP 5: don't forget to increase your free space map settings