* Eugene L. Vorokov <[EMAIL PROTECTED]> [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 [[EMAIL PROTECTED]]
Ok, who wrote this damn function called '??'?
And why do my programs keep crashing in it?

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message

Reply via email to