[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: is CURDIR guaranteed to be an absolute path?
From: |
Paul Smith |
Subject: |
Re: is CURDIR guaranteed to be an absolute path? |
Date: |
Sat, 02 Apr 2016 17:08:57 -0400 |
On Sat, 2016-04-02 at 13:49 -0700, David Boyce wrote:
> I've always believed and observed that $(CURDIR) returns an absolute
> path but can't find it spelled out anywhere in the docs. Would it be
> possible to insert the word "absolute" at the strategic point to
> clarify this?
We use getcwd(3) to obtain the working directory so yes, it will always
be absolute. I'll update the doc.