Re: How do I compute the full absolute path of a filename?
- From: George <jirka 5z com>
- To: "Daniel M. German" <dmg csg uwaterloo ca>
- Cc: gnome-devel-list gnome org
- Subject: Re: How do I compute the full absolute path of a filename?
- Date: Thu, 11 May 2000 13:48:22 -0700
On Thu, May 11, 2000 at 04:44:35PM -0400, Daniel M. German wrote:
> Thanks George, for your prompt response. This routine works, but it
> does not strip any "../" sequences from the path. I guess I'll have to
> write one based on yours :)
Ahhh. What you want is the standard libc realpath function. Do
"man realpath"
George
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]