아랫 분 질문과 중복되는지 모르겠습니다만..
윈도의 GetCurrentDirectory같은 함수가 없을까요?
telldir, opendir, readdir을 사용하면 될거 같은데 세그먼트 에러만 나네요 :cry:
우분투 5.1 , gcc 4.0.2버젼입니다.
man getcwd
--feanor
# man getcwd
------------------------------------------------------------ 이 멍청이~! 나한테 이길 수 있다고 생각했었냐~? 광란의 귀공자 데코스 와이즈멜 님이라구~!
텍스트 포맷에 대한 자세한 정보
<code>
<blockcode>
<apache>
<applescript>
<autoconf>
<awk>
<bash>
<c>
<cpp>
<css>
<diff>
<drupal5>
<drupal6>
<gdb>
<html>
<html5>
<java>
<javascript>
<ldif>
<lua>
<make>
<mysql>
<perl>
<perl6>
<php>
<pgsql>
<proftpd>
<python>
<reg>
<spec>
<ruby>
<foo>
[foo]
man getcwd--feanor
man getcwd
--feanor
[code:1]# man getcwd[/code:1]
# man getcwd
------------------------------------------------------------
이 멍청이~! 나한테 이길 수 있다고 생각했었냐~?
광란의 귀공자 데코스 와이즈멜 님이라구~!
댓글 달기