Searched defs:errno (Results 1 - 5 of 5) sorted by relevance

/PHP_5_3/ext/sqlite3/libsqlite/
H A Dsqlite3.c24193 ** GetLastError() and FormatMessage() on windows (or errno and
24387 #include <errno.h>
24479 int lastErrno; /* The unix errno from last I/O error */
24956 do{ rc = osOpen(z,f,m); }while( rc<0 && errno==EINTR );
25038 savedErrno = errno;
25058 errno = savedErrno;
25070 do{ rc = osFtruncate(h,sz); }while( rc<0 && errno==EINTR );
25075 ** This routine translates a standard POSIX errno code into something
25090 ** the value of errno as the first argument. Since a system call has failed,
25091 ** errno shoul
30353 sqlite3_snprintf(sizeof(errmsg), errmsg, "create failed (%d)", errno); local
30357 sqlite3_snprintf(sizeof(errmsg), errmsg, "write failed (%d)", errno); local
30361 sqlite3_snprintf(sizeof(errmsg), errmsg, "rename failed (%d)", errno); local
[all...]
/PHP_5_3/
H A Dserver-tests.php249 public $errno = 0; variable
372 $fp = fsockopen($host, $port, $this->errno, $this->errmsg, $this->timeout);
374 $fp = fsockopen($host, $port, $this->errno, $this->errmsg);
/PHP_5_3/ext/ldap/
H A Dldap.c597 int num_attribs = 0, ret = 1, i, errno, argcount = ZEND_NUM_ARGS(); local
754 errno = ldap_search_s(ld->link, ldap_base_dn, scope, ldap_filter, ldap_attrs, ldap_attrsonly, &ldap_res);
756 if (errno != LDAP_SUCCESS
757 && errno != LDAP_SIZELIMIT_EXCEEDED
759 && errno != LDAP_ADMINLIMIT_EXCEEDED
762 && errno != LDAP_REFERRAL
765 php_error_docref(NULL TSRMLS_CC, E_WARNING, "Search: %s", ldap_err2string(errno));
768 if (errno == LDAP_SIZELIMIT_EXCEEDED) {
772 else if (errno == LDAP_ADMINLIMIT_EXCEEDED) {
1452 /* {{{ proto string ldap_err2str(int errno)
1494 int errno; local
[all...]
/PHP_5_3/ext/mysqli/
H A Dmysqli_warning.c140 int errno; local
155 errno = Z_LVAL_PP(entry);
161 w = php_new_warning(*entry, errno TSRMLS_CC);
327 {"errno", sizeof("errno") - 1, mysqli_warning_errno, NULL},
336 {ZEND_ACC_PUBLIC, "errno", sizeof("errno") - 1, 0, NULL, 0, NULL},
/PHP_5_3/ext/sockets/
H A Dsockets.c52 # ifdef errno
53 # undef errno macro
55 # define errno WSAGetLastError() macro
69 # include <errno.h>
74 # define set_errno(a) (errno = a)
187 ZEND_ARG_INFO(0, errno)
372 PHP_SOCKET_ERROR(sock, "unable to create listening socket", errno);
380 PHP_SOCKET_ERROR(sock, "unable to bind to given address", errno);
387 PHP_SOCKET_ERROR(sock, "unable to listen on socket", errno);
406 PHP_SOCKET_ERROR(out_sock, "unable to accept incoming connection", errno);
[all...]

Completed in 136 milliseconds