mirror of
https://github.com/reactos/reactos.git
synced 2025-07-29 09:01:58 +00:00
no message
svn path=/trunk/; revision=414
This commit is contained in:
parent
9f95b317f2
commit
cee2ad3925
4 changed files with 20 additions and 9 deletions
|
@ -19,9 +19,9 @@
|
|||
* DISCLAMED. This includes but is not limited to warranties of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
|
||||
*
|
||||
* $Revision: 1.3 $
|
||||
* $Revision: 1.4 $
|
||||
* $Author: ariadne $
|
||||
* $Date: 1999/04/02 21:42:06 $
|
||||
* $Date: 1999/04/27 06:16:04 $
|
||||
*
|
||||
*/
|
||||
|
||||
|
@ -52,8 +52,8 @@ int _ungetch (int cUnget);
|
|||
#define getch _getch
|
||||
#define getche _getche
|
||||
#define kbhit _kbhit
|
||||
#define putch (cPut) _putch(cPut)
|
||||
#define ungetch (cUnget) _ungetch(cUnget)
|
||||
#define putch(cPut) _putch(cPut)
|
||||
#define ungetch(cUnget) _ungetch(cUnget)
|
||||
|
||||
#endif /* Not _NO_OLDNAMES */
|
||||
|
||||
|
|
|
@ -28,9 +28,17 @@ extern "C" {
|
|||
|
||||
|
||||
// might need check for IO_APPEND aswell
|
||||
#define WRITE_STREAM(f) ((((f)->_flag & _IOWRT) == _IOWRT ) || (((f)->_flag & _IORW) == _IORW ))
|
||||
#define OPEN4WRITING(f) ((((f)->_flag & _IOWRT) == _IOWRT ) )
|
||||
|
||||
#define READ_STREAM(f) ((((f)->_flag & _IOREAD) == _IOREAD ) || (((f)->_flag & _IORW) == _IORW ))
|
||||
#define OPEN4READING(f) ((((f)->_flag & _IOREAD) == _IOREAD ) )
|
||||
|
||||
// might need check for IO_APPEND aswell
|
||||
#define WRITE_STREAM(f) ((((f)->_flag & _IOWRT) == _IOWRT ) )
|
||||
|
||||
#define READ_STREAM(f) ((((f)->_flag & _IOREAD) == _IOREAD ) )
|
||||
|
||||
|
||||
char __validfp (FILE *f);
|
||||
|
||||
int __set_errno(int err);
|
||||
void *filehnd(int fn);
|
||||
|
|
|
@ -19,6 +19,9 @@ typedef struct {
|
|||
unsigned int mantissah:32;
|
||||
unsigned int exponent:15;
|
||||
unsigned int sign:1;
|
||||
unsigned int empty:16;
|
||||
} long_double_t;
|
||||
|
||||
|
||||
|
||||
#endif
|
|
@ -22,9 +22,9 @@
|
|||
* DISCLAMED. This includes but is not limited to warranties of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
|
||||
*
|
||||
* $Revision: 1.9 $
|
||||
* $Revision: 1.10 $
|
||||
* $Author: ariadne $
|
||||
* $Date: 1999/04/23 18:43:00 $
|
||||
* $Date: 1999/04/27 06:16:04 $
|
||||
*
|
||||
*/
|
||||
/* Appropriated for Reactos Crtdll by Ariadne */
|
||||
|
@ -53,7 +53,6 @@ extern "C" {
|
|||
#define _IOEOF 0x000100
|
||||
#define _IOERR 0x000200
|
||||
#define _IOSTRG 0x000400
|
||||
#define _IORW (_IOREAD | _IOWRT)
|
||||
#define _IOAPPEND 0x002000
|
||||
#define _IORMONCL 0x004000 /* remove on close, for temp files */
|
||||
/* if _flag & _IORMONCL, ._name_to_remove needs freeing */
|
||||
|
@ -62,6 +61,7 @@ extern "C" {
|
|||
|
||||
#define _IODIRTY 0x000080
|
||||
#define _IOAHEAD 0x000008
|
||||
#define _IORW (_IOREAD | _IOWRITE )
|
||||
|
||||
|
||||
/*
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue