cvs: /php4/ext/standard file.c
| From: | Andrei Zmievski | Date: | Sat, 15 Jan 2000 19:43:10 +0000 |
| Subject: | cvs: /php4/ext/standard file.c | ||
| Groups: | php.version4 | ||
| Request: | Send a blank email to php-version4+get-9157@lists.php.net to get a copy of this message | ||
andrei Sat Jan 15 11:43:10 2000 EDT
Modified files:
/php4/ext/standard file.c
Log:
Fix prototype.
Index: php4/ext/standard/file.c
diff -u php4/ext/standard/file.c:1.57 php4/ext/standard/file.c:1.58
--- php4/ext/standard/file.c:1.57 Sat Jan 15 11:41:17 2000
+++ php4/ext/standard/file.c Sat Jan 15 11:42:40 2000
@@ -17,7 +17,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: file.c,v 1.57 2000/01/15 19:41:17 andrei Exp $ */
+/* $Id: file.c,v 1.58 2000/01/15 19:42:40 andrei Exp $ */
/* Synced with php 3.0 revision 1.218 1999-06-16 [ssb] */
@@ -876,11 +876,11 @@
}
/* }}} */
-/* {{{ proto int set_socket_timeout(int socket descriptor, int timeout )
- NYI */
+
+/* {{{ proto bool set_socket_timeout(int socket descriptor, int seconds, int microseconds)
+ Set timeout on socket read to seconds + microseonds */
#if HAVE_SYS_TIME_H
-/* this doesn't work, as it appears those properties are read-only :( */
PHP_FUNCTION(set_socket_timeout)
{
zval **socket, **seconds, **microseconds;