Lines Matching refs:fprintf
65 fprintf(stdout, " "); in print_flags()
66 fprintf(stdout, "%s", flagnames[i].name); in print_flags()
87 fprintf(stderr, "Failed to open %s\n", chrdev_name); in list_device()
98 fprintf(stdout, "GPIO chip: %s, \"%s\", %u GPIO lines\n", in list_device()
114 fprintf(stdout, "\tline %2d:", linfo.line_offset); in list_device()
116 fprintf(stdout, " \"%s\"", linfo.name); in list_device()
118 fprintf(stdout, " unnamed"); in list_device()
120 fprintf(stdout, " \"%s\"", linfo.consumer); in list_device()
122 fprintf(stdout, " unused"); in list_device()
124 fprintf(stdout, " ["); in list_device()
126 fprintf(stdout, "]"); in list_device()
128 fprintf(stdout, "\n"); in list_device()
141 fprintf(stderr, "Usage: lsgpio [options]...\n" in print_usage()