open() with fd 0 (stdin)