<div dir="ltr">Ok, it looks fairly straight-forward.   A great deal of work on your part, we really appreciate it!<div>The only question I have is about this line in fsetfdflags():<div><br></div><div>fdp->fd_files[fd].fileflags = set_flags & 0x7f;<br></div><div><br></div><div>What is the mask for?  fileflags is a char field more or less but if all you are doing is getting rid of a compiler warning that should probably be a cast instead of a masking operation, with a comment explainer.</div><div><br></div><div>-Matt</div><div><br></div></div></div>