version 1.1, 2018/09/19 06:00:58 |
version 1.2, 2019/03/27 08:51:01 |
|
|
* 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: OpenXM_contrib2/asir2018/include/wsio.h,v 1.1 2018/09/19 06:00:58 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 *); |