From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-0.8 required=5.0 tests=BAYES_00,INVALID_DATE autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,c7033efe813128e2 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 1994-11-07 10:52:59 PST Path: nntp.gmd.de!xlink.net!howland.reston.ans.net!gatech!udel!news.mathworks.com!yeshua.marcam.com!news.kei.com!eff!blanket.mitre.org!linus.mitre.org!linus!mbunix!emery From: emery@goldfinger.mitre.org (David Emery) Newsgroups: comp.lang.ada Subject: Re: POSIX and symbolic links ???? Date: 7 Nov 94 11:41:37 Organization: The Mitre Corp., Bedford, MA. Message-ID: References: NNTP-Posting-Host: goldfinger.mitre.org In-reply-to: frol@celsiustech.se's message of Fri, 4 Nov 1994 12:34:32 GMT Date: 1994-11-07T11:41:37+00:00 List-Id: 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 -------------------------------------------------------------------------