Skip to content
Snippets Groups Projects
Commit a4e2cc77 authored by Simon Marlow's avatar Simon Marlow
Browse files

[project @ 1999-11-23 14:36:31 by simonmar]

ANSIfication
parent dea3705b
No related branches found
No related tags found
No related merge requests found
......@@ -13,6 +13,19 @@
typedef struct _IOFileObject {
int fd;
void* buf;
int bufStart; /* offset of start of data waiting to
be written. This may be non-zero in
the case where we wrote out some of the
buffer, and then blocked.
NOTE: this field should be non-zero *only*
when we just blocked on a call to writeBuffer,
and we're going to restart the call when
we unblock. It should be zero at all other
times.
*/
int bufWPtr; /* points to next position to write,
bufRPtr >= bufWPtr <= bufSize.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment