Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 11 Aug 1999 12:16:07 +0200
From:      "Steven Jurczyk" <steve@home.pl>
To:        <freebsd-hackers@freebsd.org>
Subject:   how fast get real/absolute path of file
Message-ID:  <017f01bee3e2$86c62840$02e6cdc3@haven.home.net.pl>

next in thread | raw e-mail | index | archive | help
How fast get real / absolute path of specified file. I try use readlink, =
but this slow (for path /home/web/docs/index.htm must be done 4 or more =
(if this path have symlinks) readlink's - for /home, /home/web, =
/home/web/docs and /home/web/docs/index.htm). Is any faster/simpler =
method for getting absolute path of file?

Steve



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?017f01bee3e2$86c62840$02e6cdc3>