Date: Fri, 3 Aug 2001 13:03:26 -0500 From: Alfred Perlstein <bright@mu.org> To: "Eugene L. Vorokov" <vel@bugz.infotecs.ru> Cc: freebsd-hackers@freebsd.org Subject: Re: device i/o question Message-ID: <20010803130326.C85642@elvis.mu.org> In-Reply-To: <200108030949.f739nrZ03446@bugz.infotecs.ru>; from vel@bugz.infotecs.ru on Fri, Aug 03, 2001 at 01:49:53PM %2B0400 References: <200108030949.f739nrZ03446@bugz.infotecs.ru>
next in thread | previous in thread | raw e-mail | index | archive | help
* Eugene L. Vorokov <vel@bugz.infotecs.ru> [010803 04:33] wrote: > Hello, > > I have a module which creates new device for data exchange between user > program and a module. I was wondering, if I open the device in userspace > and write() some piece of data to it, is it guaranteed that the driver > will get this solid piece of data at once, or in certain circumstances > it can be split into parts which are passed to the driver as several > write events ? I'm pretty sure a single user call of write(2) should translate into a single write to your device. There are limits on the size one can write(2) thought. -- -Alfred Perlstein [alfred@freebsd.org] Ok, who wrote this damn function called '??'? And why do my programs keep crashing in it? To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010803130326.C85642>