Searched refs:errf (Results 1 – 1 of 1) sorted by relevance
| /examples/api/ |
| A D | demo.c | 15 #define errf(fmt, args...) do { printf("ERROR @ %s(): ", __func__); printf(fmt, ##args); } while (0) macro 92 errf("open device %d error %d\n", h, rv); in main() 96 errf("open device %d error %d\n", h, rv); in main() 115 errf("open device %d error %d\n", i, rv); in main() 118 errf("could not read from device %d, error %d\n", i, rv); in main() 140 errf("open device %d error %d\n", i, rv); in main() 142 errf("could not send to device %d, error %d\n", i, rv); in main() 148 errf("could not close device %d\n", h); in main()
|
Completed in 2 milliseconds