projects
/
php
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
20a7232
)
More forgotten prototypes.
author
Egon Schmid
<eschmid@php.net>
Mon, 18 Oct 1999 20:00:42 +0000
(20:00 +0000)
committer
Egon Schmid
<eschmid@php.net>
Mon, 18 Oct 1999 20:00:42 +0000
(20:00 +0000)
ext/standard/formatted_print.c
patch
|
blob
|
history
diff --git
a/ext/standard/formatted_print.c
b/ext/standard/formatted_print.c
index 1d6f223da4e1097051662b05d315d3dbd7814360..4dc7b0417b9ecd19097ee800925ba6d8d028fb0c 100644
(file)
--- 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: