Date: Mon, 2 Dec 1996 16:14:35 -0800 (PST) From: Tony Sterrett <tony@nlanr.net> To: hackers@FreeBSD.org Subject: Driver help Message-ID: <199612030014.QAA15245@nlanr.net>
next in thread | raw e-mail | index | archive | help
How does one address the u for a driver. I have the code which copies into the u area but how do I declare it. Tony { dev_t base; struct cdevsw *cdev; while (u.u_count) { if (copyout (&testmsg[u.u_offset % sizeof (testmsg)], u.u_base,1) == -1) { u.u_error = EFAULT; return; } u.u_base++; u.u_count++; u.u_offset++; } }
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199612030014.QAA15245>