summaryrefslogtreecommitdiff
path: root/ext/standard/formatted_print.c
diff options
context:
space:
mode:
authorEgon Schmid <eschmid@php.net>1999-10-18 20:00:42 +0000
committerEgon Schmid <eschmid@php.net>1999-10-18 20:00:42 +0000
commit4fe14a780c5a7cc74adff1f6e5e807f51038520a (patch)
tree8991e8ebb8b3a7390352de0c92a46927c7f05ede /ext/standard/formatted_print.c
parent20a7232d95a5ae68debdbf66145de05c4c4fbb4c (diff)
downloadphp-git-4fe14a780c5a7cc74adff1f6e5e807f51038520a.tar.gz
More forgotten prototypes.
Diffstat (limited to 'ext/standard/formatted_print.c')
-rw-r--r--ext/standard/formatted_print.c9
1 files changed, 6 insertions, 3 deletions
diff --git a/ext/standard/formatted_print.c b/ext/standard/formatted_print.c
index 1d6f223da4..4dc7b0417b 100644
--- a/ext/standard/formatted_print.c
+++ b/ext/standard/formatted_print.c
@@ -554,7 +554,8 @@ php3_formatted_print(int ht, int *len)
return result;
}
-
+/* {{{ proto string sprintf(string format [, mixed arg1 [, ...]])
+ Return a formatted string */
PHP_FUNCTION(user_sprintf)
{
char *result;
@@ -566,8 +567,10 @@ PHP_FUNCTION(user_sprintf)
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 @@ PHP_FUNCTION(user_printf)
PHPWRITE(result,len);
efree(result);
}
-
+/* }}} */
/*
* Local variables: