Deleted Added
full compact
symlink.2 (108028) symlink.2 (108087)
1.\" Copyright (c) 1983, 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.\" @(#)symlink.2 8.1 (Berkeley) 6/4/93
1.\" Copyright (c) 1983, 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.\" @(#)symlink.2 8.1 (Berkeley) 6/4/93
33.\" $FreeBSD: head/lib/libc/sys/symlink.2 108028 2002-12-18 09:22:32Z ru $
33.\" $FreeBSD: head/lib/libc/sys/symlink.2 108087 2002-12-19 09:40:28Z ru $
34.\"
35.Dd June 4, 1993
36.Dt SYMLINK 2
37.Os
38.Sh NAME
39.Nm symlink
40.Nd make symbolic link to a file
41.Sh LIBRARY

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

73The named file does not exist.
74.It Bq Er EACCES
75A component of the
76.Fa name2
77path prefix denies search permission.
78.It Bq Er ELOOP
79Too many symbolic links were encountered in translating the pathname.
80.It Bq Er EEXIST
34.\"
35.Dd June 4, 1993
36.Dt SYMLINK 2
37.Os
38.Sh NAME
39.Nm symlink
40.Nd make symbolic link to a file
41.Sh LIBRARY

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

73The named file does not exist.
74.It Bq Er EACCES
75A component of the
76.Fa name2
77path prefix denies search permission.
78.It Bq Er ELOOP
79Too many symbolic links were encountered in translating the pathname.
80.It Bq Er EEXIST
81.Fa Name2
81The path name pointed at by the
82.Fa name2
83argument
82already exists.
83.It Bq Er EIO
84An I/O error occurred while making the directory entry for
85.Fa name2 ,
86or allocating the inode for
87.Fa name2 ,
88or writing out the link contents of
89.Fa name2 .

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

112quota of disk blocks on the file system that will
113contain the symbolic link has been exhausted.
114.It Bq Er EDQUOT
115The user's quota of inodes on the file system on
116which the symbolic link is being created has been exhausted.
117.It Bq Er EIO
118An I/O error occurred while making the directory entry or allocating the inode.
119.It Bq Er EFAULT
84already exists.
85.It Bq Er EIO
86An I/O error occurred while making the directory entry for
87.Fa name2 ,
88or allocating the inode for
89.Fa name2 ,
90or writing out the link contents of
91.Fa name2 .

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

114quota of disk blocks on the file system that will
115contain the symbolic link has been exhausted.
116.It Bq Er EDQUOT
117The user's quota of inodes on the file system on
118which the symbolic link is being created has been exhausted.
119.It Bq Er EIO
120An I/O error occurred while making the directory entry or allocating the inode.
121.It Bq Er EFAULT
120.Fa Name1
122The
123.Fa name1
121or
122.Fa name2
124or
125.Fa name2
126argument
123points outside the process's allocated address space.
124.El
125.Sh SEE ALSO
126.Xr ln 1 ,
127.Xr link 2 ,
128.Xr lstat 2 ,
129.Xr readlink 2 ,
130.Xr unlink 2 ,
131.Xr symlink 7
132.Sh HISTORY
133The
134.Fn symlink
135system call appeared in
136.Bx 4.2 .
127points outside the process's allocated address space.
128.El
129.Sh SEE ALSO
130.Xr ln 1 ,
131.Xr link 2 ,
132.Xr lstat 2 ,
133.Xr readlink 2 ,
134.Xr unlink 2 ,
135.Xr symlink 7
136.Sh HISTORY
137The
138.Fn symlink
139system call appeared in
140.Bx 4.2 .