3 ms·
A lot of the Unix/Linux Syscall api has a version 2+ For example dup(), dup2(), dup3() and pipe(), pipe2() etc LWN has an article: https://lwn.net/Articles/58
by bigger_cheese 1y ago
A lot of the Unix/Linux Syscall api has a version 2+
For example dup(), dup2(), dup3() and pipe(), pipe2() etc
LWN has an article:
https://lwn.net/Articles/585415/ https://lwn.net/Articles/585415/
It talks about avoiding this by designing future APIs using a flags bitmask to allow API to be extended in future.