add directory Ref-docs
This commit is contained in:
35
Ref-docs/syscalls/syscalls_30.html
Normal file
35
Ref-docs/syscalls/syscalls_30.html
Normal file
@@ -0,0 +1,35 @@
|
||||
<html><!-- This HTML file has been created by texi2html 1.29
|
||||
from syscalls.texi on 4 June 1994 -->
|
||||
|
||||
<TITLE>Syscall specifications of Linux - symlink</TITLE>
|
||||
<P>Go to the <A HREF="syscalls_29.html" tppabs="http://www.infran.ru/TechInfo/syscalls/syscalls_29.html">previous</A>, <A HREF="syscalls_31.html" tppabs="http://www.infran.ru/TechInfo/syscalls/syscalls_31.html">next</A> section.<P>
|
||||
<H2><A NAME="SEC30" HREF="syscalls_toc.html#SEC30" tppabs="http://www.infran.ru/TechInfo/syscalls/syscalls_toc.html#SEC30">symlink</A></H2>
|
||||
<P>
|
||||
<H3>SYNOPSIS</H3>
|
||||
<P>
|
||||
<CODE>int symlink(const char *<VAR>src</VAR>, const char *<VAR>dest</VAR>);</CODE>
|
||||
|
||||
<H3>PARAMETERS</H3>
|
||||
<P>
|
||||
<VAR>src</VAR>: [in] the new link.
|
||||
<P>
|
||||
<VAR>dest</VAR>: [in] the file to point to.
|
||||
<P>
|
||||
<H3>DESCRIPTION</H3>
|
||||
<P>
|
||||
Creates a symlink form <VAR>src</VAR> to <VAR>dest</VAR>. The destination does not
|
||||
need to exist at the time of the creation of the link.
|
||||
<P>
|
||||
<H3>RETURN VALUE</H3>
|
||||
<P>
|
||||
On success, returns zero. On error, returns -1 and sets <CODE>errno</CODE> to
|
||||
one of the following value:
|
||||
<P>
|
||||
<UL>
|
||||
<LI><CODE>EPERM</CODE>: the file system does not support symlinks.
|
||||
<LI><CODE>EFAULT</CODE>, <CODE>EACCESS</CODE>, <CODE>ENAMETOOLONG</CODE>, <CODE>ENOENT</CODE>,
|
||||
<CODE>ENOTDIR</CODE>, <CODE>ENOMEM</CODE>, <CODE>EROFS</CODE>, <CODE>EEXIST</CODE>,
|
||||
<CODE>ELOOP</CODE>, <CODE>ENOSPC</CODE>.
|
||||
</UL>
|
||||
<P>
|
||||
<P>Go to the <A HREF="syscalls_29.html" tppabs="http://www.infran.ru/TechInfo/syscalls/syscalls_29.html">previous</A>, <A HREF="syscalls_31.html" tppabs="http://www.infran.ru/TechInfo/syscalls/syscalls_31.html">next</A> section.<P>
|
||||
Reference in New Issue
Block a user