[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: unlink() and directories.
From: |
Alfred M. Szmidt |
Subject: |
Re: unlink() and directories. |
Date: |
Fri, 01 Nov 2002 17:43:40 +0100 |
Hm. It does not seem this way to me--the man-page says:
EISDIR pathname refers to a directory. (This is the non-POSIX
value returned by Linux since 2.1.132.)
And the revision-2.4 Linux that I'm running does indeed fail on
"unlink (x)" where x is a directory....
Woops, looks like my test program was flawed, and used rmdir()
instead. It does indeed fail on GNU/Linux. Thanks.