unlink (SunOS) unlink (SunOS)
NAME
unlink - Removes a directory entry
DIFFERENCES
Requires the unistd.h header file.
SYSTEM V COMPATIBILITY
Digital UNIX provides the libsys5.a library to allow you to use library
functions that are compatible with System V library functions. This
library contains functions for those libc functions whose behavior is
incompatible with POSIX or X/Open standards. The ULTRIX system also
provides a System V compatibility library, libcV.a, which supplies a
number of features similar to those that libsys5.a provides. The most
significant behavior of the functions in this library is the compatiā
bility with System V nonblocked signals. For more information about
the System V (SVID-2) features in Digital UNIX, please refer to the
System V Compatibility User's Guide.
The System V version does not allow users (including super-users) to
unlink nonempty directories. Doing so will cause the unlink call to
fail and set errno to ENOTEMPTY. This error behavior is provided to
comply with the SVID-2 industry standard
RELATED INFORMATION
Digital UNIX Functions:
unlink(2), link(2) delim off
unlink (SunOS)