19#ifndef _STLP_STDIO_FILE_H
20#define _STLP_STDIO_FILE_H
39#if defined (_STLP_WCE)
51 for (
int __fd = 0; __fd != 3; ++__fd) {
52 if (__f == _getstdfilex(__fd))
60# elif defined (_STLP_SCO_OPENSERVER) || defined (__NCR_SVR)
62inline int _FILE_fd(
const FILE *__f) {
return __f->__file; }
64# elif defined (__sun) && defined (_LP64)
66inline int _FILE_fd(
const FILE *__f) {
return (
int) __f->__pad[2]; }
68#elif defined (__hpux) || \
69 defined (__MVS__) || \
70 defined (_STLP_USE_UCLIBC)
74#elif defined (_STLP_USE_GLIBC)
76inline int _FILE_fd(
const FILE *__f) {
return __f->_fileno; }
78#elif defined (__BORLANDC__)
82#elif defined (__MWERKS__)
90# if __dest_os == __mac_os
96#elif defined (__QNXNTO__) || defined (__WATCOMC__) || defined (__EMX__)
98inline int _FILE_fd(
const FILE *__f) {
return __f->_handle; }
100#elif defined (__Lynx__)
103inline int _FILE_fd(
const FILE *__f) {
return __f->_fd; }
_STLP_BEGIN_NAMESPACE int _FILE_fd(const FILE *__f)
#define __CONST_CAST(__x, __y)
#define _STLP_BEGIN_NAMESPACE
#define _STLP_END_NAMESPACE
_Check_return_ _CRTIMP int __cdecl _fileno(_In_ FILE *_File)