Go to the source code of this file.
◆ PRead()
Definition at line 19 of file PRead.c.
20{
21 int nread;
22 volatile int nleft;
23 char *
volatile buf = buf0;
24#if !defined(NO_SIGNALS) && defined(SIGPIPE)
26
30 if (nread > 0)
31 return (nread);
34 }
35
37#endif
39
43 if (nread <= 0) {
44 if (nread == 0) {
45
47 goto done;
50 if (nread == 0)
51 nread = -1;
52 goto done;
53 } else {
55 nread = 0;
56
57 }
58 }
59 nleft -= nread;
60 if ((nleft <= 0) || (retry == 0))
61 break;
63 }
65
66done:
67#if !defined(NO_SIGNALS) && defined(SIGPIPE)
69#endif
70 return (nread);
71}
unsigned int(__cdecl typeof(jpeg_read_scanlines))(struct jpeg_decompress_struct *
GLenum GLuint GLenum GLsizei const GLchar * buf
volatile sio_sigproc_t vsio_sigproc_t
void(*)(int) SSignal(int signum, void(*handler)(int))
void(* sio_sigproc_t)(int)