version 1.10, 2018/03/29 01:32:53 |
version 1.11, 2018/09/09 08:13:41 |
|
|
* DEVELOPER SHALL HAVE NO LIABILITY IN CONNECTION WITH THE USE, |
* DEVELOPER SHALL HAVE NO LIABILITY IN CONNECTION WITH THE USE, |
* PERFORMANCE OR NON-PERFORMANCE OF THE SOFTWARE. |
* PERFORMANCE OR NON-PERFORMANCE OF THE SOFTWARE. |
* |
* |
* $OpenXM: OpenXM_contrib2/asir2000/include/wsio.h,v 1.9 2015/08/14 13:51:55 fujimoto Exp $ |
* $OpenXM: OpenXM_contrib2/asir2000/include/wsio.h,v 1.10 2018/03/29 01:32:53 noro Exp $ |
*/ |
*/ |
#ifndef WSIO_H |
#ifndef WSIO_H |
#define WSIO_H |
#define WSIO_H |
|
|
|
|
typedef struct |
typedef struct |
{ |
{ |
|
#if defined(VISUAL) |
|
int* _p; |
|
#else |
FILE fp; |
FILE fp; |
|
#endif |
int fildes; |
int fildes; |
int p; |
int p; |
int read_flag; |
int read_flag; |
|
|
}STREAM; |
}STREAM; |
|
|
STREAM *WSIO_open(int,char *); |
STREAM *WSIO_open(int,char *); |
|
int WSIO_fileno(STREAM *); |
int cread (char *, unsigned int, int, STREAM *); |
int cread (char *, unsigned int, int, STREAM *); |
int cwrite (char *, unsigned int, int, STREAM *); |
int cwrite (char *, unsigned int, int, STREAM *); |
int cflush(STREAM *); |
int cflush(STREAM *); |