CVS update: php3/functions
| From: | rasmus | Date: | Fri, 13 Nov 1998 10:45:12 +0000 |
| Subject: | CVS update: php3/functions | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-2369@lists.php.net to get a copy of this message | ||
Date: Friday November 13, 1998 @ 5:45
Author: rasmus
Update of /repository/php3/functions
In directory asf:/u2/tmp/cvs-serv29460/functions
Modified Files:
fsock.c
Log Message:
Doc fix and a prototype
Index: php3/functions/fsock.c
diff -c php3/functions/fsock.c:1.74 php3/functions/fsock.c:1.75
*** php3/functions/fsock.c:1.74 Thu Sep 10 19:57:18 1998
--- php3/functions/fsock.c Fri Nov 13 05:45:10 1998
***************
*** 27,33 ****
| Jim Winstead (jimw@php.net) |
+----------------------------------------------------------------------+
*/
! /* $Id: fsock.c,v 1.74 1998/09/10 23:57:18 zeev Exp $ */
#ifdef THREAD_SAFE
#include "tls.h"
#endif
--- 27,33 ----
| Jim Winstead (jimw@php.net) |
+----------------------------------------------------------------------+
*/
! /* $Id: fsock.c,v 1.75 1998/11/13 10:45:10 rasmus Exp $ */
#ifdef THREAD_SAFE
#include "tls.h"
#endif
***************
*** 103,108 ****
--- 103,110 ----
passed by reference. The error code from the connect call is written
to this variable.
*/
+ /* {{{ proto int fsockopen(string hostname, int port [, int errno [, string errstr]])
+ Open Internet or Unix domain socket connection */
void php3_fsockopen(INTERNAL_FUNCTION_PARAMETERS) {
pval *args[4];
int *sock=emalloc(sizeof(int));
***************
*** 206,212 ****
*sock=socketd;
id = php3_list_insert(sock,GLOBAL(wsa_fp));
RETURN_LONG(id);
! }
int _php3_sock_fgets(char *buf, int maxlen, int socket)
--- 208,214 ----
*sock=socketd;
id = php3_list_insert(sock,GLOBAL(wsa_fp));
RETURN_LONG(id);
! } /* }}} */
int _php3_sock_fgets(char *buf, int maxlen, int socket)
--
PHP Development Mailing List http://www.php.net/
To unsubscribe send an empty message to php-dev-unsubscribe@lists.php.net
For help: php-dev-help@lists.php.net