char *debug_getcwd( *buffer, maxlen ) const char *buffer int maxlen
戻り値が NULL の場合、errno には次の定義された値が返ります。