Ignore:
Timestamp:
Apr 15, 2004, 12:54:39 AM (21 years ago)
Author:
bird
Message:

#1023: libc_FHMoreHandles(). Wrote away the _file2 part of streams.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/emx/include/stdio.h

    • Property cvs2svn:cvs-rev changed from 1.10 to 1.11
    r1367 r1368  
    180180typedef struct _FILE
    181181{
    182   char * _ptr;
    183   char * _buffer;
    184   int    _rcount;
    185   int    _wcount;
    186   int    _handle;
    187   int    _flags;
    188   int    _buf_size;
    189   int    _tmpidx;
    190   int    _pid;
    191   char   _char_buf;
    192   unsigned char _ungetc_count;
    193   short  _mbstate;
    194   int    (*_flush)(struct _FILE *, int);
    195   struct _file2 *_more;
     182    char * _ptr;
     183    char * _buffer;
     184    int    _rcount;
     185    int    _wcount;
     186    int    _handle;
     187    int    _flags;
     188    int    _buf_size;
     189    int    _tmpidx;
     190    int    _pid;
     191    char   _char_buf;
     192    unsigned char _ungetc_count;
     193    short  _mbstate;
     194    int    (*_flush)(struct _FILE *, int);
     195
     196    /** The Mutex Semaphore. */
     197    union
     198    {
     199#if defined (_SYS_RMUTEX_H)
     200        _rmutex   __rsem;
     201#endif
     202        char      __rsem_ersatz[16];
     203    } __u;
     204    /** Pointer to the stream vector which thie FILE belongs to.
     205     * This member is the first which should not be zeroed by _newstream()! */
     206    void    *__pSV;
    196207} FILE;
    197208
     
    538549
    539550int _fcloseall (void);
    540 FILE *_fassign (FILE *, FILE *);
    541551FILE *_fdopen (int, __const__ char *);
    542552int _fgetchar (void);
Note: See TracChangeset for help on using the changeset viewer.