From: emery@goldfinger.mitre.org (David Emery)
Subject: Re: POSIX and symbolic links ????
Date: 7 Nov 94 11:41:37
Date: 1994-11-07T11:41:37+00:00 [thread overview]
Message-ID: <EMERY.94Nov7114137@goldfinger.mitre.org> (raw)
In-Reply-To: frol@celsiustech.se's message of Fri, 4 Nov 1994 12:34:32 GMT
The problem is that symbolic links are not part of POSIX.1. They're
included in the POSIX.1a supplement, for which there is no equivalent
Ada binding.
But look at the C documentation for the system call lstat(), which I
think is included in the POSIX.1a system calls. To quote from the man
page on my Sun:
lstat() is like stat() except in the case where the named
file is a symbolic link, in which case lstat() returns
information about the link, while stat() returns information
about the file the link references.
Note that using symbolic links in a way that is visible to the program
is not POSIX.5-compliant.
dave
--
--The preceeding opinions do not necessarily reflect the opinions of
--The MITRE Corporation or its sponsors.
-- "A good plan violently executed -NOW- is better than a perfect plan
-- next week" George Patton
-- "Any damn fool can write a plan. It's the execution that gets you
-- all screwed up" James Hollingsworth
-------------------------------------------------------------------------
prev parent reply other threads:[~1994-11-07 11:41 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
1994-11-04 12:34 POSIX and symbolic links ???? Fredrik Olsson
1994-11-06 21:04 ` Robert Dewar
1994-11-06 21:14 ` Richard Kenner
1994-11-07 11:41 ` David Emery [this message]
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox