Home
last modified time | relevance | path

Searched refs:topath (Results 1 – 2 of 2) sorted by relevance

/PHP-5.3/ext/standard/
H A Dlink.c130 char *topath, *frompath; in PHP_FUNCTION() local
138 …if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "ss", &topath, &topath_len, &frompath, &fromp… in PHP_FUNCTION()
142 if (strlen(topath) != topath_len) { in PHP_FUNCTION()
158 if (!expand_filepath_ex(topath, dest_p, dirname, len TSRMLS_CC)) { in PHP_FUNCTION()
189 ret = symlink(topath, source_p); in PHP_FUNCTION()
204 char *topath, *frompath; in PHP_FUNCTION() local
210 …if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "ss", &topath, &topath_len, &frompath, &fromp… in PHP_FUNCTION()
214 if (strlen(topath) != topath_len) { in PHP_FUNCTION()
222 if (!expand_filepath(frompath, source_p TSRMLS_CC) || !expand_filepath(topath, dest_p TSRMLS_CC)) { in PHP_FUNCTION()
251 ret = link(topath, frompath); in PHP_FUNCTION()
H A Dlink_win32.c105 char *topath, *frompath; in PHP_FUNCTION() local
130 …if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "ss", &topath, &topath_len, &frompath, &fromp… in PHP_FUNCTION()
142 if (!expand_filepath_ex(topath, dest_p, dirname, len TSRMLS_CC)) { in PHP_FUNCTION()
162 if ((attr = GetFileAttributes(topath)) == INVALID_FILE_ATTRIBUTES) { in PHP_FUNCTION()
170 ret = pCreateSymbolicLinkA(source_p, topath, (attr & FILE_ATTRIBUTE_DIRECTORY ? 1 : 0)); in PHP_FUNCTION()
185 char *topath, *frompath; in PHP_FUNCTION() local
193 …if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "ss", &frompath, &frompath_len, &topath, &top… in PHP_FUNCTION()
197 if (!expand_filepath(frompath, source_p TSRMLS_CC) || !expand_filepath(topath, dest_p TSRMLS_CC)) { in PHP_FUNCTION()
218 ret = CreateHardLinkA(topath, frompath, NULL); in PHP_FUNCTION()

Completed in 6 milliseconds