windows에서 dir.h에 fnsplit함수를
리눅스에서 쓰고자하는데 리눅스에는 dir.h가 없더라고요
fnsplit함수가 하는 역할은 전체 경로에서 드라이브, 디렉토리, 파일이름, 파일확장자를 분리해주는 함수인거같습니다.
basename, dirname으로 찾아 보세요. 리눅스에는 드라이브 문자가 없습니다.
---- 절취선 ----http://blog.peremen.name
텍스트 포맷에 대한 자세한 정보
<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]
basename, dirname으로
basename, dirname으로 찾아 보세요. 리눅스에는 드라이브 문자가 없습니다.
---- 절취선 ----
http://blog.peremen.name
댓글 달기