May 7
2015
2015
The best part about abstraction is {the best part about abstraction - 1, the best part about abstraction - 2}
Oh, programming is so easy! Just look at the source!
#include <bits/errno.h>
$ less /usr/include/bits/errno.h
#include <linux/errno.h>
$ less /usr/include/linux/errno.h:
#include <asm/errno.h>
$ less /usr/include/asm/errno.h:
#include <asm-generic/errno.h>
$ less /usr/include/asm-generic/errno.h:
#include <asm-generic/errno-base.h>
$ less /usr/include/asm-generic/errno-base.h:
#define EPERM 1 /* Operation not permitted */
[…]
It’s a wonder that gcc ever terminates.