]> granicus.if.org Git - php/commitdiff
More protos.
authorEgon Schmid <eschmid@php.net>
Thu, 24 Feb 2000 08:07:29 +0000 (08:07 +0000)
committerEgon Schmid <eschmid@php.net>
Thu, 24 Feb 2000 08:07:29 +0000 (08:07 +0000)
ext/standard/exec.c
ext/standard/file.c
ext/standard/info.c
ext/standard/lcg.c

index f91750d31a77ad50bf8e3428afddb8c3d626b372..160e2ca7d3cc40f45fab74fc8d8a11527809ec95 100644 (file)
@@ -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;
index 12b96450e1331ed4350cf0ec8faa61d33b3c4bd2..c536c1a7dbb4cdb2c2172cf3be59cc4d264c3eee 100644 (file)
@@ -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;
index a936e4af45944388c192bde37d3fc8bb17e5feb0..bba5693d49d64ff4700fa5f82848b9a73f3e0a0b 100644 (file)
@@ -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)
 {
index 3122dd30dab099b7ddf0585e0f17720dbffcac88..6be0a24227be87b3ef198901108946c1bfe3c779 100644 (file)
@@ -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());