Lines Matching refs:ret
28 int fd, ret;59 ret = poll(&pollfd, 1, -1);60 if (ret == -1) {62 brightness_file_path, ret);63 ret = 1;69 ret = read(fd, buf, sizeof(buf));70 if (ret < 0)73 ret = lseek(pollfd.fd, 0, SEEK_SET);74 if (ret < 0) {75 printf("lseek failed (%d)\n", ret);84 return ret;