Altera_Forum
Honored Contributor
20 years agochar driver
Is it not possible to have two successive writes/reads for a device opened in "r+" mode without closing and reopening the device? I have written char driver for this device which has a number of registers to be read and written. Are successive writes possible in some other fopen mode ("w+" etc?). Or this should be taken care of in the driver? Or is it a virtue of char mode drivers?
Thanks! Pankaj