return (!((p)->_flag&_IOSTRG) && (fileno_modes[(p)->_file].mode&O_TEXT));
}
+/*
+ * @implemented
+ */
int _open(const char* _path, int _oflag,...)
{
HANDLE hFile;
return 0;
}
+/*
+ * @implemented
+ */
int _open_osfhandle(void *osfhandle, int flags)
{
return __fileno_alloc((HANDLE)osfhandle, flags);
}
+/*
+ * @implemented
+ */
void *_get_osfhandle(int fileno)
{
return filehnd(fileno);