Go to the source code of this file.
◆ PWrite()
Definition at line 7 of file PWrite.c.
8{
9 volatile int nleft;
10 const char *
volatile buf = buf0;
11 int nwrote;
12#if !defined(NO_SIGNALS) && defined(SIGPIPE)
14
17 nwrote =
size - nleft;
18 if (nwrote > 0)
19 return (nwrote);
22 }
23
25#endif
26
30 if (nwrote < 0) {
32 nwrote =
size - nleft;
33 if (nwrote == 0)
34 nwrote = -1;
35 goto done;
36 } else {
38 nwrote = 0;
39
40 }
41 }
42 nleft -= nwrote;
43 if (nleft <= 0)
44 break;
46 }
47 nwrote =
size - nleft;
48
49done:
50#if !defined(NO_SIGNALS) && defined(SIGPIPE)
52#endif
53
54 return (nwrote);
55}
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)