to_platform_open_mode
fd = open(pathname, to_platform_open_mode(oflags),
fd = _kern_open(-1, pathname, to_platform_open_mode(oflags),
extern int to_platform_open_mode(int fsshMode);