question
| From: | SYSDOOR) | Date: | Sun, 24 Mar 2002 23:00:07 +0000 |
| Subject: | question | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-81736@lists.php.net to get a copy of this message | ||
look this code :
char buffer[MAXPATHLEN];
char *p;
if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "") == FAILURE)
return;if((p = VCWD_GETCWD(buffer, MAXPATHLEN)) == NULL) {
POSIX_G(last_error) = errno;
RETURN_FALSE;
}
RETURN_STRING(buffer, 1);
in this code the char pointer 'p' is really needed ?
michael