cvs: /php4/ext/standard formatted_print.c
| From: | Egon Schmid | Date: | Mon, 18 Oct 1999 20:01:17 +0000 |
| Subject: | cvs: /php4/ext/standard formatted_print.c | ||
| Groups: | php.version4 | ||
| Request: | Send a blank email to php-version4+get-5558@lists.php.net to get a copy of this message | ||
eschmid Mon Oct 18 16:01:17 1999 EDT
Modified files:
/php4/ext/standard formatted_print.c
Log:
More forgotten prototypes.
Index: php4/ext/standard/formatted_print.c
diff -u php4/ext/standard/formatted_print.c:1.8 php4/ext/standard/formatted_print.c:1.9
--- php4/ext/standard/formatted_print.c:1.8 Tue Aug 3 16:08:33 1999
+++ php4/ext/standard/formatted_print.c Mon Oct 18 16:00:42 1999
@@ -16,7 +16,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: formatted_print.c,v 1.8 1999/08/03 20:08:33 rasmus Exp $ */
+/* $Id: formatted_print.c,v 1.9 1999/10/18 20:00:42 eschmid Exp $ */
#include <math.h> /* modf() */
#include "php.h"
@@ -554,7 +554,8 @@
return result;
}
-
+/* {{{ proto string sprintf(string format [, mixed arg1 [, ...]])
+ Return a formatted string */
PHP_FUNCTION(user_sprintf)
{
char *result;
@@ -566,8 +567,10 @@
RETVAL_STRINGL(result,len,1);
efree(result);
}
-
+/* }}} */
+/* {{{ proto int printf(string format [, mixed arg1 [, ...]])
+ Output a formatted string */
PHP_FUNCTION(user_printf)
{
char *result;
@@ -579,7 +582,7 @@
PHPWRITE(result,len);
efree(result);
}
-
+/* }}} */
/*
* Local variables: