Deleted Added
full compact
unlink.2 (17782) unlink.2 (18480)
1.\" Copyright (c) 1980, 1991, 1993
2.\" The Regents of the University of California. All rights reserved.
3.\"
4.\" Redistribution and use in source and binary forms, with or without
5.\" modification, are permitted provided that the following conditions
6.\" are met:
7.\" 1. Redistributions of source code must retain the above copyright
8.\" notice, this list of conditions and the following disclaimer.

--- 16 unchanged lines hidden (view full) ---

25.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
26.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
27.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
28.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
29.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
30.\" SUCH DAMAGE.
31.\"
32.\" @(#)unlink.2 8.1 (Berkeley) 6/4/93
1.\" Copyright (c) 1980, 1991, 1993
2.\" The Regents of the University of California. All rights reserved.
3.\"
4.\" Redistribution and use in source and binary forms, with or without
5.\" modification, are permitted provided that the following conditions
6.\" are met:
7.\" 1. Redistributions of source code must retain the above copyright
8.\" notice, this list of conditions and the following disclaimer.

--- 16 unchanged lines hidden (view full) ---

25.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
26.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
27.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
28.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
29.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
30.\" SUCH DAMAGE.
31.\"
32.\" @(#)unlink.2 8.1 (Berkeley) 6/4/93
33.\" $Id$
33.\"
34.Dd June 4, 1993
35.Dt UNLINK 2
36.Os BSD 4
37.Sh NAME
38.Nm unlink
39.Nd remove directory entry
40.Sh SYNOPSIS

--- 59 unchanged lines hidden (view full) ---

100The named file resides on a read-only file system.
101.It Bq Er EFAULT
102.Fa Path
103points outside the process's allocated address space.
104.El
105.Sh SEE ALSO
106.Xr close 2 ,
107.Xr link 2 ,
34.\"
35.Dd June 4, 1993
36.Dt UNLINK 2
37.Os BSD 4
38.Sh NAME
39.Nm unlink
40.Nd remove directory entry
41.Sh SYNOPSIS

--- 59 unchanged lines hidden (view full) ---

101The named file resides on a read-only file system.
102.It Bq Er EFAULT
103.Fa Path
104points outside the process's allocated address space.
105.El
106.Sh SEE ALSO
107.Xr close 2 ,
108.Xr link 2 ,
108.Xr rmdir 2
109.Xr rmdir 2 ,
109.Xr symlink 7
110.Sh HISTORY
111An
112.Fn unlink
113function call appeared in
114.At v6 .
115.Pp
116The
117.Fn unlink
118system call traditionally allows the super-user to unlink directories which
119can damage the filesystem integrity. This implementation no longer permits
120it.
110.Xr symlink 7
111.Sh HISTORY
112An
113.Fn unlink
114function call appeared in
115.At v6 .
116.Pp
117The
118.Fn unlink
119system call traditionally allows the super-user to unlink directories which
120can damage the filesystem integrity. This implementation no longer permits
121it.