Why remove() doesn't remove (symbolic links)?

Melinda Shore shore at theory.tn.cornell.edu
Sat May 4 04:52:44 AEST 1991


In article <1991May03.174126.13324 at lynx.CS.ORST.EDU> ghe at 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 at theory.tn.cornell.edu



More information about the Comp.unix.aix mailing list