CAN Device Driver Internals | ||
---|---|---|
<<< Previous | Next >>> |
The path to driver device node is specified there. The conventional device names for Linux CAN driver are /dev/can0, /dev/can1, etc.
flags modifying style of open call. The standard O_RDWR mode should be used for CAN device. The mode O_NOBLOCK can be used with driver as well. This mode results in immediate return of read and write.
Returns negative number in the case of error. Returns the file descriptor for named CAN message object in other cases.
<<< Previous | Home | Next >>> |
CAN Driver File Operations | Up | close |