summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
e089e5d)
Fixed that to be a valid data source e.g. for ptx cansequence.
fprint_canframe(stdout, &frame, "\n", 1);
}
fprint_canframe(stdout, &frame, "\n", 1);
}
nbytes = write(s, &frame, sizeof(struct can_frame));
if (nbytes < 0) {
if (errno != ENOBUFS) {
nbytes = write(s, &frame, sizeof(struct can_frame));
if (nbytes < 0) {
if (errno != ENOBUFS) {
if (poll(&fds, 1, polltimeout) < 0) {
perror("poll");
return 1;
if (poll(&fds, 1, polltimeout) < 0) {
perror("poll");
return 1;