Newsgroups: comp.unix.aix
Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!batcomputer!theory.tn.cornell.edu!shore
From: shore@theory.tn.cornell.edu (Melinda Shore)
Subject: Re: Why remove() doesn't remove (symbolic links)?
Message-ID: <1991May3.185244.1275@batcomputer.tn.cornell.edu>
Keywords: remove(), symbolic link
Sender: news@batcomputer.tn.cornell.edu
Nntp-Posting-Host: theory.tn.cornell.edu
Organization: Cornell Theory Center
References: <1991May03.174126.13324@lynx.CS.ORST.EDU>
Date: Fri, 3 May 1991 18:52:44 GMT

In article <1991May03.174126.13324@lynx.CS.ORST.EDU> ghe@physics.orst.edu writes:
>The remove() system call fails to remove
>the sybolic links.

It should work as advertised.  I *strongly* recommend checking errno
after the system call fails either by using perror(), or looking at the
value of errno yourself.  You do want to know why remove() is failing,
don't you?
-- 
                    Software longa, hardware brevis
Melinda Shore - Cornell Information Technologies - shore@theory.tn.cornell.edu
