Working with FUSE to build file systems means inevitably you have to deal with (or return) system call errors. The Go FUSE implementation includes helpers and constants for returning these errors, but simply wraps them around the syscall error numbers. I needed descriptions to better understand what was doing what. Pete saved the day by pointing me towards the errno.h header file on my Macbook. Some Python later and we had the descriptions:

So that’s a good script to have on your local machine, since now I can just do the following:

$ syserr.py | grep EAGAIN
 35: EAGAIN: Resource temporarily unavailable

To get descriptions for the various errors. However for Google reference, I’ll also provide them here:

End of post.