Lines Matching refs:err
42 int err; in main() local
60 err = TEMP_FAILURE_RETRY(ioctl(uinputFd, UI_SET_EVBIT, EV_SW)) in main()
63 if (err != 0) { in main()
75 err = TEMP_FAILURE_RETRY(write(uinputFd, &uidev, sizeof (uidev))); in main()
76 if (err < 0) { in main()
81 err = TEMP_FAILURE_RETRY(ioctl(uinputFd, UI_DEV_CREATE)); in main()
82 if (err < 0) { in main()
125 err = ASensorEventQueue_registerSensor(eventQueue, hallSensor, in main()
127 if (err < 0) { in main()
145 err = TEMP_FAILURE_RETRY(write(uinputFd, &event, sizeof (event))); in main()
146 if (err < 0) { in main()
155 err = TEMP_FAILURE_RETRY(write(uinputFd, &event, sizeof (event))); in main()
156 if (err < 0) { in main()