c언어로 realpath 함수 사용법을 모르겠습니다.
알려주세요...@_@
http://cvs.oops.org/?cvsroot=OOPS-Project&module=olibc&file=libfile.c%2Cv&rev=1.38 의 제일 하단의 realpath_r function을 참조 하세요. 단, PATH_MAX constant에 대해서 제대로 처리해 주시지 않으면 overflow의 위험이 있습니다. 이에 대해서는 man page를 잘 읽어 보세요.
감사합니다!! ^^
텍스트 포맷에 대한 자세한 정보
<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]
http://cvs.oops.org/?cvsroot=
http://cvs.oops.org/?cvsroot=OOPS-Project&module=olibc&file=libfile.c%2Cv&rev=1.38 의 제일 하단의 realpath_r function을 참조 하세요. 단, PATH_MAX constant에 대해서 제대로 처리해 주시지 않으면 overflow의 위험이 있습니다. 이에 대해서는 man page를 잘 읽어 보세요.
감사합니다!! ^^
감사합니다!! ^^
댓글 달기