char s[4096];
puts(getwd(s));


これだけのプログラムなのにセグフォります。わかる方、お願いします。