mirror of
https://github.com/php/php-src.git
synced 2025-08-16 22:18:50 +02:00
More protos.
This commit is contained in:
parent
3b5efa05f7
commit
7da7a50c69
4 changed files with 8 additions and 10 deletions
|
@ -324,7 +324,7 @@ char * php_escape_shell_cmd(char *str) {
|
|||
}
|
||||
|
||||
/* {{{ proto escapeshellcmd(string command)
|
||||
escape shell metacharacters */
|
||||
Escape shell metacharacters */
|
||||
PHP_FUNCTION(escapeshellcmd)
|
||||
{
|
||||
pval **arg1;
|
||||
|
|
|
@ -344,7 +344,7 @@ PHP_MINIT_FUNCTION(file)
|
|||
|
||||
/* }}} */
|
||||
/* {{{ proto bool flock(int fp, int operation)
|
||||
portable file locking */
|
||||
Portable file locking */
|
||||
|
||||
static int flock_values[] = { LOCK_SH, LOCK_EX, LOCK_UN };
|
||||
|
||||
|
@ -387,7 +387,7 @@ PHP_FUNCTION(flock)
|
|||
|
||||
/* }}} */
|
||||
/* {{{ proto array get_meta_tags(string filename [, int use_include_path])
|
||||
Extracts all meta tag content attributes from a file and returns an array */
|
||||
Extracts all meta tag content attributes from a file and returns an array */
|
||||
|
||||
PHP_FUNCTION(get_meta_tags)
|
||||
{
|
||||
|
@ -613,8 +613,8 @@ PHP_FUNCTION(tempnam)
|
|||
}
|
||||
|
||||
/* }}} */
|
||||
/* {{{ proto int tmpfile()
|
||||
Create a temporary file that will be deleted automatically after use. */
|
||||
/* {{{ proto int tmpfile(void)
|
||||
Create a temporary file that will be deleted automatically after use */
|
||||
PHP_FUNCTION(tmpfile)
|
||||
{
|
||||
FILE *fp;
|
||||
|
@ -693,7 +693,7 @@ PHP_FUNCTION(fopen)
|
|||
|
||||
/* }}} */
|
||||
/* {{{ proto int fclose(int fp)
|
||||
Close an open file pointer */
|
||||
Close an open file pointer */
|
||||
|
||||
PHP_FUNCTION(fclose)
|
||||
{
|
||||
|
@ -1603,7 +1603,7 @@ PHP_FUNCTION(fread)
|
|||
|
||||
/* }}} */
|
||||
/* {{{ proto array fgetcsv(int fp, int length)
|
||||
get line from file pointer and parse for CSV fields */
|
||||
Get line from file pointer and parse for CSV fields */
|
||||
|
||||
PHP_FUNCTION(fgetcsv) {
|
||||
char *temp, *tptr, *bptr;
|
||||
|
|
|
@ -443,7 +443,6 @@ void register_phpinfo_constants(INIT_FUNC_ARGS)
|
|||
|
||||
|
||||
/* {{{ proto void phpinfo(void)
|
||||
|
||||
Output a page of useful information about PHP and the current request */
|
||||
PHP_FUNCTION(phpinfo)
|
||||
{
|
||||
|
@ -482,7 +481,6 @@ PHP_FUNCTION(phpversion)
|
|||
|
||||
|
||||
/* {{{ proto void phpcredits(int)
|
||||
|
||||
Prints the list of people who've contributed to the PHP project */
|
||||
PHP_FUNCTION(phpcredits)
|
||||
{
|
||||
|
|
|
@ -80,7 +80,7 @@ static int php_minit_lcg(INIT_FUNC_ARGS)
|
|||
}
|
||||
|
||||
/* {{{ proto double lcg_value()
|
||||
returns a value from the combined linear congruential generator */
|
||||
Returns a value from the combined linear congruential generator */
|
||||
PHP_FUNCTION(lcg_value)
|
||||
{
|
||||
RETURN_DOUBLE(php_combined_lcg());
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue