Nitpicking: small correction to the "Creating a Portable User API" chapter
Matthew Dillon
dillon at apollo.backplane.com
Sun Jul 4 09:55:47 PDT 2004
Heh. its only example code, but I corrected it. Thanks!
-Matt
:Hello,
:
:a small correction to the example code in the "userapi" chapter on your site:
:the read() function shall not update the [per-thread] errno value if it is
:..
:(shouldn't it be returned from the kernel just as in the case of successful
:read?):
:
: error = lwkt_domsg(&syscall_port, msg);
: if (error) {
: curthread->td_errno = error;
: msg->result = -1;
: }
: return(msg->result);
:
:Regards,
:Alexey.
More information about the Bugs
mailing list