summaryrefslogtreecommitdiff
path: root/ext/standard/link.c
diff options
context:
space:
mode:
Diffstat (limited to 'ext/standard/link.c')
-rw-r--r--ext/standard/link.c15
1 files changed, 4 insertions, 11 deletions
diff --git a/ext/standard/link.c b/ext/standard/link.c
index 1117049344..002f9576eb 100644
--- a/ext/standard/link.c
+++ b/ext/standard/link.c
@@ -1,7 +1,5 @@
/*
+----------------------------------------------------------------------+
- | PHP Version 7 |
- +----------------------------------------------------------------------+
| Copyright (c) The PHP Group |
+----------------------------------------------------------------------+
| This source file is subject to version 3.01 of the PHP license, |
@@ -51,7 +49,6 @@
#include <errno.h>
#include <ctype.h>
-#include "php_link.h"
#include "php_string.h"
#ifndef VOLUME_NAME_NT
@@ -62,8 +59,7 @@
#define VOLUME_NAME_DOS 0x0
#endif
-/* {{{ proto string readlink(string filename)
- Return the target of a symbolic link */
+/* {{{ Return the target of a symbolic link */
PHP_FUNCTION(readlink)
{
char *link;
@@ -96,8 +92,7 @@ PHP_FUNCTION(readlink)
}
/* }}} */
-/* {{{ proto int linkinfo(string filename)
- Returns the st_dev field of the UNIX C stat structure describing the link */
+/* {{{ Returns the st_dev field of the UNIX C stat structure describing the link */
PHP_FUNCTION(linkinfo)
{
char *link;
@@ -130,8 +125,7 @@ PHP_FUNCTION(linkinfo)
}
/* }}} */
-/* {{{ proto int symlink(string target, string link)
- Create a symbolic link */
+/* {{{ Create a symbolic link */
PHP_FUNCTION(symlink)
{
char *topath, *frompath;
@@ -189,8 +183,7 @@ PHP_FUNCTION(symlink)
}
/* }}} */
-/* {{{ proto int link(string target, string link)
- Create a hard link */
+/* {{{ Create a hard link */
PHP_FUNCTION(link)
{
char *topath, *frompath;