can't have bind(2) and bind(ape socket call) in the same program by the same name. since we already have _BIND, use this. Reference: /n/atom/patch/applied2013/apebindbind Date: Tue May 28 22:26:29 CES 2013 Signed-off-by: quanstro@quanstro.net --- /sys/include/ape/lib9.h Tue May 28 22:26:12 2013 +++ /sys/include/ape/lib9.h Tue May 28 22:26:12 2013 @@ -60,7 +60,8 @@ #define ARGC() _argc extern int errstr(char*, unsigned int); -extern int bind(char*, char*, int); +extern int _BIND(char*, char*, int); +#define bind(name, old, flag) _BIND(name, old, flag) extern int mount(int, int, char*, int, char*); extern int unmount(char*, char*); extern int rfork(int);