* ãã·ã³ããªãã¯ãªã³ã¯ã®ãªã³ã¯å ã絶対ãã¹åãåå¾ãããã [tech] 4 users http://nao.s164.xrea.com/td/2008-01-05.html#p01 Unix ä¸ã§ã·ã³ããªãã¯ãªã³ã¯ã®ãªã³ã¯å ãåå¾ãããï¼ (ä¸ç¥) ã¨ãããã readlink ã¨ã realpath ã¨ãããã³ãã³ããã¾ãã«ä½¿ãããã¨ãããã£ãï¼ãããï¼æå ã®ãã·ã³ã«ã¯ãããªãã®ã¯å ¥ã£ã¦ããªãã®ã§ï¼ (ä¸ç¥) #include <sys/param.h> #include <stdio.h> #include <stdlib.h> int main( int argc, char *argv[] ){ (以ä¸ç¥) ãã£ã¨ãæ軽ã«ãããªããããã¡ã§ããããï¼ % perl -e 'use Cwd; print Cwd::abs_path($ARGV[0]), "\n"' some_p
{{#tags}}- {{label}}
{{/tags}}