3static char UNUSED(gSioVersion[]) =
"@(#) sio 6.0.3 ** Copyright 1992-2001 Mike Gleason. All rights reserved.";
8extern volatile Sjmp_buf gNetTimeoutJmp;
29SRead(
int sfd,
char *
const buf0,
size_t size,
int tlen,
int retry)
33 char *
volatile buf = buf0;
38 if (
SSetjmp(gNetTimeoutJmp) != 0) {
68 tleft = (
int) (done -
now);
77 (
void) alarm((
unsigned int) tleft);
78 nread =
read(sfd, (
char *)
buf, nleft);
106 nread =
size - nleft;
118SRead(
int sfd,
char *
const buf0,
size_t size,
int tlen,
int retry)
137 tleft = (
int) (done -
now);
139 nread =
size - nleft;
161 nread =
size - nleft;
174#if defined(WIN32) || defined(_WINDOWS)
175 nread =
recv(sfd, (
char *)
buf, nleft, 0);
177 nread =
read(sfd, (
char *)
buf, nleft);
184 nread =
size - nleft;
187 nread =
size - nleft;
207 nread =
size - nleft;
int SRead(int sfd, char *const buf0, size_t size, int tlen, int retry)
unsigned int(__cdecl typeof(jpeg_read_scanlines))(struct jpeg_decompress_struct *
INT WSAAPI recv(IN SOCKET s, OUT CHAR FAR *buf, IN INT len, IN INT flags)
INT WSAAPI select(IN INT s, IN OUT LPFD_SET readfds, IN OUT LPFD_SET writefds, IN OUT LPFD_SET exceptfds, IN CONST struct timeval *timeout)
GLenum GLuint GLenum GLsizei const GLchar * buf
#define SELECT_TYPE_ARG234
#define kFullBufferRequired
#define kFullBufferRequiredExceptLast
volatile sio_sigproc_t vsio_sigproc_t
void(*)(int) SSignal(int signum, void(*handler)(int))
#define LIBSIO_USE_VAR(a)
void(* sio_sigproc_t)(int)