Searched refs:errno (Results 1 - 25 of 149) sorted by relevance

123456

/PHP_TRUNK/ext/reflection/tests/
H A Dexception.inc4 $this->errno = $_errno;
9 return $this->errno;
/PHP_TRUNK/ext/xmlrpc/libxmlrpc/
H A Dencodings.c46 #include <errno.h>
83 if(errno == E2BIG) {
/PHP_TRUNK/sapi/fpm/fpm/
H A Dfpm_shm.c6 #include <errno.h>
28 zlog(ZLOG_SYSERROR, "unable to allocate %zu bytes in shared memory: %s", size, strerror(errno));
H A Dfpm_trace_ptrace.c10 #include <errno.h>
72 errno = 0;
74 if (errno) {
H A Dfpm_signals.c15 #include <errno.h>
144 int saved_errno = errno;
152 errno = saved_errno;
175 saved_errno = errno;
178 errno = saved_errno;
/PHP_TRUNK/win32/
H A Dflock.c52 #include <errno.h>
82 errno = EINVAL; /* bad call */
H A Dstrtoi64.c45 errno = EINVAL;
112 errno = ERANGE;
114 errno = EINVAL;
/PHP_TRUNK/ext/fileinfo/libmagic/
H A Dapptype.c57 file_error(ms, errno, "cannot create tempnam");
69 file_error(ms, errno, "cannot open tmp file `%s'", path);
73 file_error(ms, errno, "cannot write tmp file `%s'",
H A Dcompress.c48 #include <errno.h>
161 if (errno == EINTR)
207 if (errno == EINTR || errno == EAGAIN)
228 if (errno == EINTR)
255 r = errno;
257 errno = r;
263 te = errno;
265 errno = te;
269 file_error(ms, errno,
[all...]
/PHP_TRUNK/ext/mbstring/libmbfl/tests/
H A Dstrcut.c11 #include <errno.h>
52 errno = 0;
54 if (errno) {
60 if (errno) {
/PHP_TRUNK/ext/zip/lib/
H A Dmkstemp.c39 #include <errno.h>
121 errno = ENOTDIR;
132 if (errno != EEXIST)
H A Dzip_error_to_str.c37 #include <errno.h>
H A Dzip_source_file.c37 #include <errno.h>
H A Dzip_file_get_offset.c40 #include <errno.h>
64 _zip_error_set(error, ZIP_ER_SEEK, errno);
H A Dzip_filerange_crc.c38 #include <errno.h>
56 _zip_error_set(errp, ZIP_ER_SEEK, errno);
63 _zip_error_set(errp, ZIP_ER_READ, errno);
H A Dzip_fopen_index.c37 #include <errno.h>
/PHP_TRUNK/ext/pcntl/
H A Dpcntl.c47 #include <errno.h>
141 ZEND_ARG_INFO(0, errno)
547 PCNTL_G(last_error) = errno;
548 php_error_docref(NULL TSRMLS_CC, E_WARNING, "Error %d", errno);
587 PCNTL_G(last_error) = errno;
622 PCNTL_G(last_error) = errno;
813 PCNTL_G(last_error) = errno;
814 php_error_docref(NULL TSRMLS_CC, E_WARNING, "Error has occurred: (errno %d) %s", errno, strerror(errno));
[all...]
/PHP_TRUNK/ext/session/
H A Dmod_files.c40 #include <errno.h>
176 php_error_docref(NULL TSRMLS_CC, E_WARNING, "fcntl(%d, F_SETFD, FD_CLOEXEC) failed: %s (%d)", data->fd, strerror(errno), errno);
180 php_error_docref(NULL TSRMLS_CC, E_WARNING, "open(%s, O_RDWR) failed: %s (%d)", buf, strerror(errno), errno);
198 php_error_docref(NULL TSRMLS_CC, E_NOTICE, "ps_files_cleanup_dir: opendir(%s) failed: %s (%d)", dirname, strerror(errno), errno);
285 errno = 0;
287 if (errno == ERANGE) {
294 errno
[all...]
/PHP_TRUNK/ext/sockets/
H A Dwindows_common.h28 #ifdef errno
29 # undef errno macro
31 #define errno WSAGetLastError() macro
36 #ifdef ENETUNREACH /* errno.h probably included */
/PHP_TRUNK/ext/standard/
H A Dflock_compat.c22 #include <errno.h>
63 errno = EINVAL;
70 (errno == EACCES || errno == EAGAIN))
71 errno = EWOULDBLOCK;
149 /* Under Win32 MT library, errno is not a variable but a function call,
153 errno = EINVAL; /* bad call */
161 errno = 0;
H A Dftok.c58 php_error_docref(NULL TSRMLS_CC, E_WARNING, "ftok() failed - %s", strerror(errno));
H A Dlink.c47 #include <errno.h>
73 php_error_docref(NULL TSRMLS_CC, E_WARNING, "%s", strerror(errno));
107 php_error_docref(NULL TSRMLS_CC, E_WARNING, "%s", strerror(errno));
167 php_error_docref(NULL TSRMLS_CC, E_WARNING, "%s", strerror(errno));
215 php_error_docref(NULL TSRMLS_CC, E_WARNING, "%s", strerror(errno));
/PHP_TRUNK/ext/sysvsem/
H A Dsysvsem.c41 #include <errno.h>
209 php_error_docref(NULL TSRMLS_CC, E_WARNING, "failed for key 0x%lx: %s", key, strerror(errno));
240 if (errno != EINTR) {
241 php_error_docref(NULL TSRMLS_CC, E_WARNING, "failed acquiring SYSVSEM_SETVAL for key 0x%lx: %s", key, strerror(errno));
249 php_error_docref(NULL TSRMLS_CC, E_WARNING, "failed for key 0x%lx: %s", key, strerror(errno));
260 php_error_docref(NULL TSRMLS_CC, E_WARNING, "failed for key 0x%lx: %s", key, strerror(errno));
265 php_error_docref(NULL TSRMLS_CC, E_WARNING, "failed for key 0x%lx: %s", key, strerror(errno));
270 php_error_docref(NULL TSRMLS_CC, E_WARNING, "failed for key 0x%lx: %s", key, strerror(errno));
281 if (errno != EINTR) {
282 php_error_docref(NULL TSRMLS_CC, E_WARNING, "failed releasing SYSVSEM_SETVAL for key 0x%lx: %s", key, strerror(errno));
[all...]
/PHP_TRUNK/sapi/fpm/fpm/events/
H A Dport.c30 #include <errno.h>
132 if (errno != EINTR && errno != ETIME) {
133 zlog(ZLOG_WARNING, "poll() returns %d", errno);
H A Dselect.c36 #include <errno.h>
105 if (errno != EINTR) {
106 zlog(ZLOG_WARNING, "poll() returns %d", errno);

Completed in 267 milliseconds

123456