ReactOS  0.4.11-dev-745-g76daaf9
schilyio.h File Reference
#include <schily/mconfig.h>
#include <schily/stdio.h>
#include <schily/standard.h>
#include <schily/types.h>
#include <schily/unistd.h>
#include <schily/fcntl.h>
#include <schily/schily.h>
#include <schily/errno.h>
Include dependency graph for schilyio.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  _io_flags
 

Macros

#define _openfd(name, omode)   (open(name, omode, (mode_t)0666))
 
#define DO_MYFLAG   /* use local flags */
 
#define FI_NONE   0x0000 /* no flags defined */
 
#define FI_READ   0x0001 /* open for reading */
 
#define FI_WRITE   0x0002 /* open for writing */
 
#define FI_BINARY   0x0004 /* open in binary mode */
 
#define FI_APPEND   0x0008 /* append on each write */
 
#define FI_CREATE   0x0010 /* create if nessecary */
 
#define FI_TRUNC   0x0020 /* truncate file on open */
 
#define FI_UNBUF   0x0080 /* dont't buffer io */
 
#define FI_CLOSE   0x1000 /* close file on error */
 
#define _JS_IONORAISE   01 /* do no raisecond() on errors */
 
#define _JS_IOUNBUF   02 /* do unbuffered i/o */
 
#define flp(p)   (&_io_myfl[fileno(p)])
 
#define my_flag(p)   _io_get_my_flag(p)
 
#define set_my_flag(p, v)   _io_set_my_flag(p, v)
 
#define add_my_flag(p, v)   _io_add_my_flag(p, v)
 
#define __c
 
#define down(f)
 
#define down1(f, fl1)
 
#define down2(f, fl1, fl2)
 

Typedefs

typedef struct _io_flags _io_fl
 

Functions

int _io_get_my_flag __PR ((FILE *))
 
void _io_set_my_flag __PR ((FILE *, int))
 

Variables

int _io_glflag
 
_io_fl_io_myfl
 
int _fl_max
 
char _badfile []
 
char _badmode []
 
char _badop []
 

Macro Definition Documentation

#define __c

Definition at line 209 of file schilyio.h.

Referenced by __copy_digits(), __copy_grouped_digits(), __copy_sign(), __copy_unbuffered(), __do_get_alphabool(), __get_base_or_zero(), __get_integer(), __median(), _Incrementable(), basic_ostream< _CharT, _Traits >::_M_copy_unbuffered(), _Underflow< _CharT, _Traits >::_M_doit(), _Underflow< char, char_traits< char > >::_M_doit(), _Rope_RopeRep< _CharT, _Alloc >::_M_free_tree(), istreambuf_iterator< _CharT, >::_M_getc(), rope< _CharT, _Alloc >::_S_add_to_forest(), _S_apply_to_pieces(), rope< _CharT, _Alloc >::_S_fetch(), rope< _CharT, _Alloc >::_S_fetch_ptr(), _S_io_get(), _Rope_iterator_base< _CharT, _Alloc >::_S_setcache(), _Rope_iterator_base< _CharT, _Alloc >::_S_setcache_for_incr(), rope< _CharT, _Alloc >::_S_substring(), _STLP_WEAK(), messages< char >::get(), messages< wchar_t >::get(), getline(), basic_istream< _CharT, _Traits >::ignore(), rope< _CharT, _Alloc >::insert(), js_fgetline(), operator<(), operator<<(), operator<=(), _Rope_char_ref_proxy< _CharT, _Alloc >::operator=(), gslice_array< _Tp >::operator=(), mask_array< _Tp >::operator=(), operator>>(), basic_filebuf< _CharT, _Traits >::pbackfail(), rope< _CharT, _Alloc >::replace(), setfill(), __char_traits_base< _CharT, _CharT >::to_char_type(), __char_traits_base< _CharT, _CharT >::to_int_type(), char_traits< char >::to_int_type(), ctype< char >::tolower(), ctype< wchar_t >::tolower(), ctype< char >::toupper(), ctype< wchar_t >::toupper(), basic_stringbuf< _CharT, _Traits, _Alloc >::uflow(), and basic_streambuf< _CharT, _Traits >::xsgetn().

#define _JS_IONORAISE   01 /* do no raisecond() on errors */

Definition at line 99 of file schilyio.h.

Referenced by _more_flags(), and filewrite().

#define _JS_IOUNBUF   02 /* do unbuffered i/o */

Definition at line 100 of file schilyio.h.

Referenced by _fcons(), and filewrite().

#define _openfd (   name,
  omode 
)    (open(name, omode, (mode_t)0666))

Definition at line 75 of file schilyio.h.

Referenced by fileopen().

#define add_my_flag (   p,
  v 
)    _io_add_my_flag(p, v)

Definition at line 141 of file schilyio.h.

#define DO_MYFLAG   /* use local flags */

Definition at line 78 of file schilyio.h.

#define down (   f)

Definition at line 216 of file schilyio.h.

#define down1 (   f,
  fl1 
)

Definition at line 217 of file schilyio.h.

#define down2 (   f,
  fl1,
  fl2 
)

Definition at line 218 of file schilyio.h.

Referenced by ffileread(), filewrite(), and js_fgetline().

#define FI_APPEND   0x0008 /* append on each write */

Definition at line 88 of file schilyio.h.

Referenced by _cvmod(), and _fcons().

#define FI_BINARY   0x0004 /* open in binary mode */

Definition at line 87 of file schilyio.h.

Referenced by _cvmod(), and _fcons().

#define FI_CLOSE   0x1000 /* close file on error */

Definition at line 93 of file schilyio.h.

Referenced by _fcons(), and fileopen().

#define FI_CREATE   0x0010 /* create if nessecary */

Definition at line 90 of file schilyio.h.

Referenced by _cvmod().

#define FI_NONE   0x0000 /* no flags defined */

Definition at line 83 of file schilyio.h.

#define FI_READ   0x0001 /* open for reading */

Definition at line 85 of file schilyio.h.

Referenced by _cvmod(), and _fcons().

#define FI_TRUNC   0x0020 /* truncate file on open */

Definition at line 91 of file schilyio.h.

Referenced by _cvmod().

#define FI_UNBUF   0x0080 /* dont't buffer io */

Definition at line 92 of file schilyio.h.

Referenced by _cvmod(), and _fcons().

#define FI_WRITE   0x0002 /* open for writing */

Definition at line 86 of file schilyio.h.

Referenced by _cvmod(), and _fcons().

#define flp (   p)    (&_io_myfl[fileno(p)])

Definition at line 128 of file schilyio.h.

#define my_flag (   p)    _io_get_my_flag(p)

Definition at line 137 of file schilyio.h.

Referenced by filewrite().

#define set_my_flag (   p,
  v 
)    _io_set_my_flag(p, v)

Definition at line 140 of file schilyio.h.

Referenced by _fcons().

Typedef Documentation

Definition at line 112 of file schilyio.h.

Function Documentation

int _io_get_my_flag __PR ( (FILE *)  )
void _io_set_my_flag __PR ( (FILE *, int )

Variable Documentation

char _badfile[]

Definition at line 17 of file dat.c.

char _badmode[]

Definition at line 18 of file dat.c.

Referenced by _cvmod().

char _badop[]

Definition at line 19 of file dat.c.

int _fl_max

Definition at line 34 of file flag.c.

Referenced by _io_get_my_flag(), _io_set_my_flag(), and _more_flags().

int _io_glflag

Definition at line 31 of file flag.c.

Referenced by _fcons(), and filewrite().

_io_fl* _io_myfl

Definition at line 36 of file flag.c.

Referenced by _io_get_my_flag(), _io_set_my_flag(), and _more_flags().