Go to the source code of this file.
◆ SWaitUntilReadyForReading()
Definition at line 7 of file SWait.c.
8{
12 int tleft;
14
15 if (sfd < 0) {
17 return (0);
18 }
19
22 tleft = tlen;
23
28 tv.tv_sec = tleft;
29 tv.tv_usec = 0;
32
33 return (1);
36
37 return (0);
38 }
39
42
44 return (0);
45 }
46 tleft = (
int) (done -
now);
47 } else {
48
50 return (0);
51 }
52 }
53}
unsigned int(__cdecl typeof(jpeg_read_scanlines))(struct jpeg_decompress_struct *
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)
#define SELECT_TYPE_ARG234
Referenced by GetResponse().
◆ SWaitUntilReadyForWriting()
Definition at line 62 of file SWait.c.
63{
67 int tleft;
69
70 if (sfd < 0) {
72 return (0);
73 }
74
77 tleft = tlen;
78
83 tv.tv_sec = tleft;
84 tv.tv_usec = 0;
87
88 return (1);
91
92 return (0);
93 }
94
97
99 return (0);
100 }
101 tleft = (
int) (done -
now);
102 } else {
103
105 return (0);
106 }
107 }
108}